Reputation: 451
Hi Is it possible in gnuplot to set scales so that length of scaleX and scaleY would be the same?? I tried different tricks (set size, set ratio etc) but even if the range of scaleX and scaleY is the same - the length of that scales are different. It looks like length of range from 0 to 1(on scalex) is greater then length of range from 0 to 1 (on scaleY).
Upvotes: 38
Views: 79764
Reputation: 819
Actually, set size ratio -1
set the same ratio in all direction independently of the window while set size square
plot in a square box, no matter what range you use.
Upvotes: 57
Reputation: 261
That works fine for plot (2D). For splot (3D) use
set view equal xyz
Upvotes: 23
Reputation: 14023
Well, now that we found the answer (see comments of the question), I might just as well post it for others to find it more easily:
set size square
does the trick.
Cherio Woltan
Upvotes: 29