<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adjusting the Output Size of Surface Plot without JSL Script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/809367#M98936</link>
    <description>&lt;P&gt;Usually you start by making the modifications by hand checking out the script for possible messages you can use&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1730388203218.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69714i0BBD4A2FE35752E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1730388203218.png" alt="jthi_2-1730388203218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Surface Plot(
	Columns(:Pred Formula ABRASION),
	Datapoints Choice("Surface"),
	Surface Color Theme("Green to Black to Red"),
	Surface Color Theme2("Green to White to Red"),
	Surface Color Theme3("White to Black"),
	Surface Color Theme4("Blue to Gray to Red"),
&lt;STRONG&gt;	Response Column Fill("Discrete Gradients"),&lt;/STRONG&gt;
&lt;STRONG&gt;	Response Column Gradients(10),&lt;/STRONG&gt;
	Response Column Color Theme("Blue to Green to Red"),
	Response Column Color Theme2("Blue to Gray to Orange"),
	Response Column Color Theme3("Spectral"),
	Response Column Color Theme4("Jet"),
	Response(:Pred Formula ABRASION),
	Equation(., ., ., .),
	Surface Color Method("Solid", "Solid", "Solid", "Solid"),
	SetVariableAxis(:SILICA, Axis Data({})),
	SetVariableAxis(:SILANE, Axis Data({})),
	SetZAxis(:Pred Formula ABRASION, Current Value(146.121949348339)),
	SetXVariable(:SILICA),
	SetYVariable(:SILANE),
	Iso Value(0, 139.119238722661),
	Frame3D(Set Rotation(-54, 0, 38))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then if that isn't enough, take a look at scripting index as it might contain what you need.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1730388018954.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69712iFB50CCBF7542F0EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1730388018954.png" alt="jthi_0-1730388018954.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1730388148912.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69713iB2910CE17ACFB65C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1730388148912.png" alt="jthi_1-1730388148912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This same can also be true for the size. Resize it by hand and check the script JMP creates for you&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Frame3D(Set Graph Size(200, 200), Set Rotation(-54, 0, 38))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1730388394317.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69715iF13DF4887B42E56E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1730388394317.png" alt="jthi_3-1730388394317.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If this is the size you wish to change, then I went with much more complicated route in my first response (because I didn't bother checking for special messages that Surface Plot might use).&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 15:27:25 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-10-31T15:27:25Z</dc:date>
    <item>
      <title>Adjusting the Output Size of Surface Plot without JSL Script</title>
      <link>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/808920#M98841</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am generating a number of surface plots for a publication and since I am a beginner I am not using the JSL Script. Also, I want to be able to spin the plots in the surface plot tool, label the axes and so on. Everything works fine and I really like it, but what is driving me mad is the export of graphics. I found a way to remove the title ("surface plot") but I cannot keep the size consistent:&lt;/P&gt;&lt;P&gt;&lt;U&gt;I want to have square diagrams of a decent size, and without the margin/box in black around them&lt;/U&gt;. I managed to drag the size of the box&amp;nbsp; in the graph builder and this for sure has an influence on the export, but that´s not really an option for me since I have several surface plots and they must all be of the same size e.g. 800 x 8000 (otherwise it looks nasty in my paper).&lt;U&gt; So I am looking for a way to adjust this in the "properties" function, but without success.&lt;/U&gt; I even tried to use AI-generated JSL Code for that, but I think I failed in refering the code to the respective surface plot.&lt;/P&gt;&lt;P&gt;I hope that somebody can help me ...&lt;/P&gt;&lt;P&gt;Thanks alot!&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Problem_Surfaceplot.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69619iD71450B7FB233EAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problem_Surfaceplot.jpg" alt="Problem_Surfaceplot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 08:50:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/808920#M98841</guid>
      <dc:creator>Lucas_UDE</dc:creator>
      <dc:date>2024-10-29T08:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting the Output Size of Surface Plot without JSL Script</title>
      <link>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/808966#M98846</link>
      <description>&lt;P&gt;Try if setting Height and Width of the SceneBox works for you&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Tiretread.jmp");
obj = dt &amp;lt;&amp;lt; Surface Plot(
	Columns(
		:Pred Formula ABRASION, :Pred Formula MODULUS, :Pred Formula ELONG,
		:Pred Formula HARDNESS
	)
);
wait(1); // demo purposes
Report(obj)[SceneBox(1)] &amp;lt;&amp;lt; Height(800);
Report(obj)[SceneBox(1)] &amp;lt;&amp;lt; Width(800);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1730200550659.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69622iD68E701A3306D9DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1730200550659.png" alt="jthi_0-1730200550659.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 11:15:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/808966#M98846</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-29T11:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting the Output Size of Surface Plot without JSL Script</title>
      <link>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/809350#M98926</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;and thanks a lot, although this was not exactly the way I was looking for since it involves a script in JSL. It seems it is inevitable to learn JSL if you want to use the entire potential of JMP. Now I invested quite some time (and help from Perplexity) to find a script that can do the entire job for me and ended up with this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Current Data Table();
obj = dt &amp;lt;&amp;lt; Surface Plot(
    Columns(
        :Caffeine Removal RSM Model, :Heating Rate, :Heating Ramp Duration
    )
);

// Ensure the plot is created before attempting to modify it
Wait(1);

// Access the report and modify dimensions
objReport = obj &amp;lt;&amp;lt; Report;
// Setzen der Breite und Höhe des SceneBox (3D-Plot)
objReport[SceneBox(1)] &amp;lt;&amp;lt; Set Width(800);
objReport[SceneBox(1)] &amp;lt;&amp;lt; Set Height(800);
objReport[OutlineBox(1)] &amp;lt;&amp;lt; Set Title("");
objReport[SceneBox(1)] &amp;lt;&amp;lt; Background Color("White");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This works, so far. My problem is now that I would really like it to directly change the color type of my 3D plot to "discrete gradients". I tried:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;objReport[SceneBox(1)] &amp;lt;&amp;lt; Set Property("Fill Type", "Discrete Gradients");
objReport[SceneBox(1)] &amp;lt;&amp;lt; Set Property("Number of Levels", 10);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;But it seems that it cannot find the right objects to modify. I searched the "Sheet Properties" (see picture) in the Tree Structure of the plot, but couldn´t find it. My two lines of script have no effect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Problem 2.jpg" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69711i2EE8B05791ED0EB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Problem 2.jpg" alt="Problem 2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 13:38:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/809350#M98926</guid>
      <dc:creator>Lucas_UDE</dc:creator>
      <dc:date>2024-10-31T13:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adjusting the Output Size of Surface Plot without JSL Script</title>
      <link>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/809367#M98936</link>
      <description>&lt;P&gt;Usually you start by making the modifications by hand checking out the script for possible messages you can use&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1730388203218.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69714i0BBD4A2FE35752E7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1730388203218.png" alt="jthi_2-1730388203218.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Surface Plot(
	Columns(:Pred Formula ABRASION),
	Datapoints Choice("Surface"),
	Surface Color Theme("Green to Black to Red"),
	Surface Color Theme2("Green to White to Red"),
	Surface Color Theme3("White to Black"),
	Surface Color Theme4("Blue to Gray to Red"),
&lt;STRONG&gt;	Response Column Fill("Discrete Gradients"),&lt;/STRONG&gt;
&lt;STRONG&gt;	Response Column Gradients(10),&lt;/STRONG&gt;
	Response Column Color Theme("Blue to Green to Red"),
	Response Column Color Theme2("Blue to Gray to Orange"),
	Response Column Color Theme3("Spectral"),
	Response Column Color Theme4("Jet"),
	Response(:Pred Formula ABRASION),
	Equation(., ., ., .),
	Surface Color Method("Solid", "Solid", "Solid", "Solid"),
	SetVariableAxis(:SILICA, Axis Data({})),
	SetVariableAxis(:SILANE, Axis Data({})),
	SetZAxis(:Pred Formula ABRASION, Current Value(146.121949348339)),
	SetXVariable(:SILICA),
	SetYVariable(:SILANE),
	Iso Value(0, 139.119238722661),
	Frame3D(Set Rotation(-54, 0, 38))
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then if that isn't enough, take a look at scripting index as it might contain what you need.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1730388018954.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69712iFB50CCBF7542F0EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1730388018954.png" alt="jthi_0-1730388018954.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1730388148912.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69713iB2910CE17ACFB65C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1730388148912.png" alt="jthi_1-1730388148912.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This same can also be true for the size. Resize it by hand and check the script JMP creates for you&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	Frame3D(Set Graph Size(200, 200), Set Rotation(-54, 0, 38))
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1730388394317.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69715iF13DF4887B42E56E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1730388394317.png" alt="jthi_3-1730388394317.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If this is the size you wish to change, then I went with much more complicated route in my first response (because I didn't bother checking for special messages that Surface Plot might use).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:27:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Adjusting-the-Output-Size-of-Surface-Plot-without-JSL-Script/m-p/809367#M98936</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-10-31T15:27:25Z</dc:date>
    </item>
  </channel>
</rss>

