Menu

#2835 Parametric ploting with the variable s as symbolic does not work

None
closed
plotting (138)
5
2017-11-21
2014-11-04
No

Hello all.

I am using
Maxima 5.32.1 http://maxima.sourceforge.net
using Lisp GNU Common Lisp (GCL) GCL 2.6.10 (a.k.a. GCL)
In Linux Mint Qiana 17 (Linux kernel 3.13.0-24-generic)

Parametric ploting with the variable s as symbolic does not work. For example with:

r: (exp(cos(s))-2*cos(4*s)-sin(s/12)^5)$
plot2d([parametric, r*sin(s), r*cos(s), [s, -8*%pi, 8*%pi]])$

I get the error:

plot-options-parser: unknown plot option: 
 [s,-25.13274122871834,25.13274122871834]
 -- an error. To debug this try: debugmode(true);

with another variable (e.g. t) it does work:

r: (exp(cos(t))-2*cos(4*t)-sin(t/12)^5)$
plot2d([parametric, r*sin(t), r*cos(t), [t, -8*%pi, 8*%pi]])$

and I get the corresponging gnuplot graphic.

In previous versions of MAXIMA I did not have that problem.

Kind regards,

Diego

Discussion

  • Jaime E. Villate

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -7,22 +7,25 @@
    
     Parametric ploting with the variable s as symbolic does not work. For example with:
    
    +~~~~
     r: (exp(cos(s))-2*cos(4*s)-sin(s/12)^5)$
     plot2d([parametric, r*sin(s), r*cos(s), [s, -8*%pi, 8*%pi]])$
    -
    +~~~~
    
     I get the error:
    
    +~~~~
     plot-options-parser: unknown plot option: 
      [s,-25.13274122871834,25.13274122871834]
      -- an error. To debug this try: debugmode(true);
    -
    +~~~~
    
     with another variable (e.g. t) it does work:
    
    +~~~~
     r: (exp(cos(t))-2*cos(4*t)-sin(t/12)^5)$
     plot2d([parametric, r*sin(t), r*cos(t), [t, -8*%pi, 8*%pi]])$
    -
    +~~~~
    
     and I get the corresponging gnuplot graphic.
    
     
  • Jaime E. Villate

    • labels: --> plotting
    • assigned_to: Jaime E. Villate
     
  • Jaime E. Villate

    • status: open --> closed
     
  • Jaime E. Villate

    I have finally fixed this bug with commit [5b0169]. I appologize for not having fixed it several years ago!

     

    Related

    Commit: [5b0169]

  • Tim Hunt

    Tim Hunt - 2017-11-21

    :-) Thank you very much.

     

Log in to post a comment.