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).
5.9 Does gnuplot support multiple y-axes on a single plot? Yes. 2D plots can have separate x axes at the bottom (x1) and top (x2), and separate y axes at the left (y1) and right (y2).
gnuplot is a command-line and GUI program that can generate two- and three-dimensional plots of functions, data, and data fits. The program runs on all major computers and operating systems (Linux, Unix, Microsoft Windows, macOS, FreeDOS, and many others).
plot and splot are the primary commands in Gnuplot. They plot functions and data in many many ways. plot is used to plot 2-d functions and data, while splot plots 3-d surfaces and data.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With