|
From: Derek L. <de...@bo...> - 2016-05-13 13:22:38
|
> On May 13, 2016, at 7:05 AM, Martin Ward wrote: > > On 13/05/16 13:54, Sávio Ramos wrote: >> I want to plot x**2 >> >> gnuplot> set xrange [-1:1] >> gnuplot> set yrange [0:1] >> gnuplot> plot x**2 >> >> >> But, the scale of the axis is diferent. I need exactly the same. > > set xrange [-1:1] > set yrange [0:1] > set size ratio 0.5 > plot x**2 > Or you could do it in a way that is independent of your chosen xrange and yrange, using a negative value for 'set size ratio': set xrange [-1:1] set yrange [0:1] set size ratio -1 plot x**2 set yrange [-1:1] replot See the manual for "set size". Derek |