From: Stavros M. <mac...@us...> - 2024-10-11 19:41:40
|
--- **[bugs:#4384] plot3d with no real values gives internal error** **Status:** open **Group:** None **Labels:** plot3d **Created:** Fri Oct 11, 2024 07:41 PM UTC by Stavros Macrakis **Last Updated:** Fri Oct 11, 2024 07:41 PM UTC **Owner:** nobody ``plot2d`` correctly gives an error when there are no real values: ~~~~ plot2d(x+%i,[x,-2,2]); plot2d: expression evaluates to non-numeric value everywhere in plotting range. plot2d: nothing to plot. -- an error. To debug this try: debugmode(true); ~~~~ But ``plot3d`` gives an internal error in gnuplot: ~~~~ plot3d(x+y+%i,[x,-2,2],[y,-2,2]); gnuplot> set pm3d hidden3d 100 border lw 0.5 lt rgb "#000000" ^ line 2582: invalid pm3d option gnuplot> splot "-" title "y+x+%i" with pm3d ^ line 3575: All points z value undefined ~~~~ It should give a clean error in Maxima, not in gnuplot. Tested in 5.47.0 SBCL 2.4.7 MacOS gnuplot 6.0/1. --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |