xy -> xyz plot script

This commit is contained in:
tim h 2023-01-25 19:00:33 -06:00
parent 958dca6b1a
commit 69b3039976
2 changed files with 8 additions and 5 deletions

View file

@ -322,12 +322,12 @@
<select id="script-selector" onchange="changeScript(event)">
<option id="no_selected_script" value="">Select a script...</option>
<option id="loopback" value="Loopback">
Loopback (img2img ONLY)
Loopback (img2img only)
</option>
<option id="prompt_matrix" value="Prompt matrix">
Prompt Matrix
</option>
<option id="xy_plot" value="X/Y plot">X/Y plot</option>
<option id="xy_plot" value="X/Y/Z plot">X/Y/Z plot</option>
<option id="custom" value="custom">Other</option>
</select>
</div>
@ -402,7 +402,7 @@
<!-- Content -->
<script src="js/prompt.js?v=7a1c68c" type="text/javascript"></script>
<script src="js/index.js?v=e93fe50" type="text/javascript"></script>
<script src="js/index.js?v=04d2bb0" type="text/javascript"></script>
<script
src="js/ui/floating/history.js?v=fc92d14"

View file

@ -1284,16 +1284,19 @@ function changeScript(evt) {
"different_seeds (bool): use different seeds for each picture //def: false";
break;
}
case "X/Y plot": {
case "X/Y/Z plot": {
scriptArgs.value =
'[4, "5-30 [5]", 6, "2.5-12.5 [5]", false, true, false]';
'[4, "5-30 [5]", 6, "2.5-12.5 [5]", 0, "", false, true, false, false]';
scriptArgs.title =
"Params:\nx_type (int): index of axis type (see below) //def: 4\n" +
"x_values (mixed, str) //def: 5-30 [5]\n" +
"y_type (int) //def: 5\n" +
"y_values (mixed, str) //def: 2.5-12.5 [5]\n" +
"z_type (int) //def: 0\n" +
"z_values (mixed, str) //def: empty string\n" +
"draw_legend (bool): return grid of all images //def: false\n" +
"include_lone_images (bool): return individual images //def: true\n" +
"include_subgrids (bool): return subgrids //def: false\n" +
"no_fixed_seeds (bool): use different seeds for each picture //def: false\n\n" +
"Available axis types:\n" +
"0: Nothing\n" +