On Monday, 16 January 2017 05:13:57 PM Ether Jones wrote:

> Hello.

>

> I want to plot the parametric function

> x(t) = t+log(t+1)

> y(t) = sqrt(t)+sin(t)

>

> from t=0 to t=2

>

> in steps of dt = 0.2

>

> using circles of radius 0.05 (instead of points)

set samples 21

plot sample [t=0:2] '+' using (t+log(t+1)) : (sqrt(t)+sin(t)) : (0.05) with circles

There is currently no way to directly specify a step size for sampling, but since you

can control the endpoints and the number of samples it is still possible.

> I searched for about 2 hours but could not find how to do this directly

> in gnuplot. I could create a data file and then plot that, but I want to

> plot the functions directly.

>

> Is there a way to do that in gnuplot?

Several, but I think the one I show above is the easiest.

------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, SlashDot.org!

http://sdm.link/slashdot_______________________________________________

gnuplot-info mailing list

[hidden email]
Membership management via:

https://lists.sourceforge.net/lists/listinfo/gnuplot-info