在gnuplot中绘制三角圆

在gnuplot中绘制三角圆,gnuplot,Gnuplot,我发现自己无法用gnuplot正确地得到三角圆。代码是 reset session # PI = 4.*atan(1.) # set term qt set arrow from 0, 0 to 0, 1 lc 'black' nohead set arrow from 0, 0 to 1, 0 lc 'black' nohead front set label '{L = 1}' at -0.1, 0.3 tc 'black' rotate set label '{L = 1}' at

我发现自己无法用gnuplot正确地得到三角圆。代码是

reset session 
# PI = 4.*atan(1.)
# set term qt 
set arrow from 0, 0 to 0, 1 lc 'black' nohead 
set arrow from 0, 0 to 1, 0 lc 'black' nohead front
set label '{L = 1}' at -0.1, 0.3 tc 'black' rotate
set label '{L = 1}' at 0.5, 0.15 tc 'black'
set object circle at 0, 0 radius 1 
set xrange[-1.5:1.5]
set yrange[-1.5:1.5]
plot (0) w p lc 'white' notitle 
pause -1
结果是


有人能帮忙吗?

绘图的纵横比不是1:1(它是矩形,不是正方形)

将对象圆设置为0,0半径1
将绘制一个与绘图的纵横比无关的圆

在开头添加一行

set size square

一切都应该很好。

很好,解释。