How to set equal scale's length in gnuplot

后端 未结 3 1945
情书的邮戳
情书的邮戳 2020-12-25 11:02

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 o

相关标签:
3条回答
  • 2020-12-25 11:30

    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

    0 讨论(0)
  • 2020-12-25 11:34

    That works fine for plot (2D). For splot (3D) use set view equal xyz

    0 讨论(0)
  • 2020-12-25 11:55

    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.

    0 讨论(0)
提交回复
热议问题