#2701 plotting option logy causes an error

None
closed
5
2014-03-16
2014-03-15
No

plot2d (sin(u), [u, 0, 1], [logx, true], [y, 0, 1], [logy, true]); causes an error.

Discussion

  • Yasuaki Honda

    Yasuaki Honda - 2014-03-15
    • summary: logy causes an error --> plotting option logy causes an error
     
  • Raymond Toy

    Raymond Toy - 2014-03-15

    Did this used to work? If I use [y,0.001,1], the plot is shown. Otherwise I get can error.

     
  • Yasuaki Honda

    Yasuaki Honda - 2014-03-16

    Maxima 5.30.0 http://maxima.sourceforge.net
    using Lisp CMU Common Lisp 20c release-20c (20C Unicode)
    Distributed under the GNU Public License. See the file COPYING.
    Dedicated to the memory of William Schelter.
    The function bug_report() provides bug reporting information.
    (%i1) plot2d(sin(u),[u,0,1],[logx,true],[y,0,1],[logy,true]);
    plot2d: lower bound must be positive when 'logx' in effect.
    plot2d: assuming lower bound = 0.001 instead of 0.0
    plot2d: lower bound must be positive when 'logy' in effect.
    plot2d: assuming lower bound = 0.001 instead of 0.0
    plot2d: some values were clipped.

    then, drawing window appears and a curve drawn.

     
  • Yasuaki Honda

    Yasuaki Honda - 2014-03-16

    I have found that there was a simple typing error at line 1867 of plot.lisp (where 'first' should be 'second').
    I just fixed it and the fix is already committed as [cb4537].

     

    Related

    Commit: [cb4537]

  • Yasuaki Honda

    Yasuaki Honda - 2014-03-16
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks