draw the arc as a function:
set parametric
set xrange [-1.1:1.1]
set yrange [-1.1:1.1]
set trange [0:1]
set size square
deg2rad(x)=x/180.*pi
set arrow 1 from
0.5*sin(deg2rad(45.+90.))+0.001,0.5*cos(deg2rad(45.+90.))+0.001 \
to 0.5*sin(deg2rad(45.+90.))-0.001,0.5*cos(deg2rad(45.+90.))-0.001 size
0.1,10
#1st we draw a full circle, then an arc from 45° to 45°+90°
plot sin(2.*pi*t),cos(2.*pi*t), \
0.5*sin(t*deg2rad(90.)+deg2rad(45.)),0.5*cos(t*deg2rad(90.)+deg2rad(45.))
Tim23 wrote:
>
> I am trying to draw an arc (preferably with an arrow at the end) on a
> parametric plot.
> The trick
> http://old.nabble.com/Re%3A-Gnuplot---changing-ranges-on-replot-%28polar-coordinates%29--p28487719.html
> seems to work on a polar plot, but not on parametric.
> Are there other options?
>
>
--
View this message in context: http://old.nabble.com/drawing-an-arc-on-a-parametric-plot-tp30083302p30093004.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|