Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Richard Stover <richard@uc...>  20060216 21:12:20

I am measuring the flatness of a piece of silicon. The silicon is 30mm by 60 mm. I am using splot to produce a 3D plot of the measurements. I'd like to have the X axis twice as long as the Y axis instead of the equal length default. I haven't found any way to do this. I tried 'set size ratio 2' but apparently that applies only to 2D plots. Does anyone know how to tell splot to use X and Y axis lengths of a specified size (or ratio)? Thanks. Richard Stover 
From:
<broeker@ph...>  20060216 22:10:11

Richard Stover wrote: > I am measuring the flatness of a piece of silicon. The silicon > is 30mm by 60 mm. I am using splot to produce a 3D plot of the > measurements. I'd like to have the X axis twice as long as the > Y axis instead of the equal length default. I haven't found any > way to do this. I tried 'set size ratio 2' but apparently > that applies only to 2D plots. 'set size ratio 1', however, should do something even in 3D. You may have to manually set the x and y axes to equal ranges in addition to it. 
From: Richard Stover <richard@uc...>  20060216 23:20:56

HansBernhard Bröker <broeker <at> physik.rwthaachen.de> writes: > > Richard Stover wrote: > > I am measuring the flatness of a piece of silicon. The silicon > > is 30mm by 60 mm. I am using splot to produce a 3D plot of the > > measurements. I'd like to have the X axis twice as long as the > > Y axis instead of the equal length default. I haven't found any > > way to do this. I tried 'set size ratio 2' but apparently > > that applies only to 2D plots. > > 'set size ratio 1', however, should do something even in 3D. > > You may have to manually set the x and y axes to equal ranges in > addition to it. > Thanks for the suggestion. I tried ratio 1. That has no effect. I did some more experimenting with set size and found that 'set size 1,0.5' makes the Z axis halfsize, not Y. Apparently for a 3D plot the second number refers to the Z axis and the first is applied to both X and Y. 'set size 0.5,1' makes both X and Y halfsize while leaving Z its normal length. I tried 'set size 1,0.5,1' but gnuplot complains about the third number. Please let me know if you have any further suggestions. Richard 
From:
<broeker@ph...>  20060217 17:58:39

Richard Stover wrote: > Thanks for the suggestion. I tried ratio 1. That has no effect. Strange  the code does something, since at least around version 4.0. Could be a coincidence, i.e. it was already in the same shape usually created by 'set size ratio 1'. > I did some more experimenting with set size and found that > 'set size 1,0.5' makes the Z axis halfsize, not Y. Apparently > for a 3D plot the second number refers to the Z axis and the > first is applied to both X and Y. The <xscale> and <yscale> parameters of 'set size' act on the 2D paper coordinate system, not on 3D at all. The reason they appear to work the way they are is that the 3D>2D projection set up by gnuplot always keeps the z axis vertical. As I said before: you'll probably have to artificially set the x and y ranges to equal spans to make 'set size ratio 1' do something useful. 
Sign up for the SourceForge newsletter:
No, thanks