Polar plot of f(t)=t, in [0,4*pi]
-------------------------------------------------------------
build_info("5.28.0-2","2012-08-27 23:16:48","i686-pc-mingw32","GNU Common Lisp (GCL)","GCL 2.6.8")
-------------------------------------------------------------
If I put in the console
wxplot2d(t, [t,0,4*%pi],[plot_format, gnuplot],
[gnuplot_preamble, "set polar; set trange [0:4*pi]; set rrange [0:4*pi];"])$
we obtain a incorrect plot of the function as we can see in the attached image.
If I put in the gnuplot:
set polar;
set rrange [0:4*pi];
set trange [0:4*pi];
plot t;
I obtain a coorect plot of the function. But in any case, that is for any function in polar coordinates, in Maxima the graph of the function isn't correct.
Thank you very much for your attention, and waiting for a solution to this problem, says goodbye with a greeting and best wishes
Manuel González
Prof. University of the Balearic Islands
Polar plot of f(t)=t, in [0,4*pi]
All correct. Do
(%i1) wxplot2d([ph], [ph,0,4*%pi],[y,-4*%pi,4*%pi],
[gnuplot_preamble, "set polar; set zeroaxis;"],
[xlabel, ""],[ ylabel, ""])$
(%t1) << Graphics >>
or
(%i2) load(draw)$
(%i3) wxdraw2d(user_preamble = "set grid polar",
nticks = 200,
grid=true,
xrange = [-12,12], yrange = [-12,12],
color = blue, line_width = 2,
title = "Spiral",
polar(theta,theta,0,4*%pi),
proportional_axes = xy
)$
(%t3) << Graphics >>
best
Aleksas D
Log in to post a comment.