Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Rightclick on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: SourceForge.net <noreply@so...>  20080409 12:54:04

Bugs item #1938570, was opened at 20080409 05:53 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080409 13:32:15

Bugs item #1938570, was opened at 20080409 08:53 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  >Comment By: Raymond Toy (rtoy) Date: 20080409 09:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080428 19:35:48

Bugs item #1938570, was opened at 20080409 07:53 Message generated for change (Comment added) made by nicoguaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  Comment By: nicolas guarin (nicoguaro) Date: 20080428 14:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 08:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080428 20:11:40

Bugs item #1938570, was opened at 20080409 07:53 Message generated for change (Comment added) made by nicoguaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:11 Message: Logged In: YES user_id=1991015 Originator: NO I made the plots between x E [5,5] y E [5,5] incremented by 1. And all the 625 plots was succesful... I will prove with a wider boundaries... See ya  Comment By: nicolas guarin (nicoguaro) Date: 20080428 14:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 08:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080428 21:15:15

Bugs item #1938570, was opened at 20080409 07:53 Message generated for change (Comment added) made by nicoguaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  Comment By: nicolas guarin (nicoguaro) Date: 20080428 16:15 Message: Logged In: YES user_id=1991015 Originator: NO I already knew what you say... But I thinks is still a few strange, I have try with high number without any problem... The problem appears in boundaries with multiples of fifteen. 15,30,45... no more.  Comment By: Raymond Toy (rtoy) Date: 20080428 15:56 Message: Logged In: YES user_id=28849 Originator: NO There is no need to do wider boundaries. I think we exactly why we get an error. The xy plane is sampled in a grid. The grid plot_options tells us how many samples to take in the x and y plane. With your limits, the grid is such that we eventually sample the point 0,0. Your function is not defined there. Solution is the change your function to something else, so that it doesn't try to compute 0/0 at the origin, or change your limits slightly, or change the grid plot_options.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:11 Message: Logged In: YES user_id=1991015 Originator: NO I made the plots between x E [5,5] y E [5,5] incremented by 1. And all the 625 plots was succesful... I will prove with a wider boundaries... See ya  Comment By: nicolas guarin (nicoguaro) Date: 20080428 14:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 08:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080428 21:28:33

Bugs item #1938570, was opened at 20080409 08:53 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  >Comment By: Raymond Toy (rtoy) Date: 20080428 17:28 Message: Logged In: YES user_id=28849 Originator: NO This is no surprise. The code computes a grid with stepsize (xmaxxmin)/30, where 30 is the default number of samples. If xmax and xmin are both multiples of 15, the step size is always a multiple of 1/2, which has a very nice exact floatingpoint representation. Thus, we will always eventually sample the point 0,0. If you change the grid value, you will find similar things happen, but the boundaries will be different.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 17:15 Message: Logged In: YES user_id=1991015 Originator: NO I already knew what you say... But I thinks is still a few strange, I have try with high number without any problem... The problem appears in boundaries with multiples of fifteen. 15,30,45... no more.  Comment By: Raymond Toy (rtoy) Date: 20080428 16:56 Message: Logged In: YES user_id=28849 Originator: NO There is no need to do wider boundaries. I think we exactly why we get an error. The xy plane is sampled in a grid. The grid plot_options tells us how many samples to take in the x and y plane. With your limits, the grid is such that we eventually sample the point 0,0. Your function is not defined there. Solution is the change your function to something else, so that it doesn't try to compute 0/0 at the origin, or change your limits slightly, or change the grid plot_options.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 16:11 Message: Logged In: YES user_id=1991015 Originator: NO I made the plots between x E [5,5] y E [5,5] incremented by 1. And all the 625 plots was succesful... I will prove with a wider boundaries... See ya  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 09:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080428 21:30:04

Bugs item #1938570, was opened at 20080409 07:53 Message generated for change (Comment added) made by nicoguaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  Comment By: nicolas guarin (nicoguaro) Date: 20080428 16:30 Message: Logged In: YES user_id=1991015 Originator: NO mmmm That's true...  Comment By: Raymond Toy (rtoy) Date: 20080428 16:28 Message: Logged In: YES user_id=28849 Originator: NO This is no surprise. The code computes a grid with stepsize (xmaxxmin)/30, where 30 is the default number of samples. If xmax and xmin are both multiples of 15, the step size is always a multiple of 1/2, which has a very nice exact floatingpoint representation. Thus, we will always eventually sample the point 0,0. If you change the grid value, you will find similar things happen, but the boundaries will be different.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 16:15 Message: Logged In: YES user_id=1991015 Originator: NO I already knew what you say... But I thinks is still a few strange, I have try with high number without any problem... The problem appears in boundaries with multiples of fifteen. 15,30,45... no more.  Comment By: Raymond Toy (rtoy) Date: 20080428 15:56 Message: Logged In: YES user_id=28849 Originator: NO There is no need to do wider boundaries. I think we exactly why we get an error. The xy plane is sampled in a grid. The grid plot_options tells us how many samples to take in the x and y plane. With your limits, the grid is such that we eventually sample the point 0,0. Your function is not defined there. Solution is the change your function to something else, so that it doesn't try to compute 0/0 at the origin, or change your limits slightly, or change the grid plot_options.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:11 Message: Logged In: YES user_id=1991015 Originator: NO I made the plots between x E [5,5] y E [5,5] incremented by 1. And all the 625 plots was succesful... I will prove with a wider boundaries... See ya  Comment By: nicolas guarin (nicoguaro) Date: 20080428 14:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 08:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080428 21:59:11

Bugs item #1938570, was opened at 20080409 08:53 Message generated for change (Comment added) made by rtoy You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  >Comment By: Raymond Toy (rtoy) Date: 20080428 16:56 Message: Logged In: YES user_id=28849 Originator: NO There is no need to do wider boundaries. I think we exactly why we get an error. The xy plane is sampled in a grid. The grid plot_options tells us how many samples to take in the x and y plane. With your limits, the grid is such that we eventually sample the point 0,0. Your function is not defined there. Solution is the change your function to something else, so that it doesn't try to compute 0/0 at the origin, or change your limits slightly, or change the grid plot_options.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 16:11 Message: Logged In: YES user_id=1991015 Originator: NO I made the plots between x E [5,5] y E [5,5] incremented by 1. And all the 625 plots was succesful... I will prove with a wider boundaries... See ya  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 09:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
From: SourceForge.net <noreply@so...>  20080515 04:50:57

Bugs item #1938570, was opened at 20080409 06:53 Message generated for change (Comment added) made by robert_dodier You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Lisp Core  Plotting Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: bug in range of plot3d Initial Comment: otsocoltempo@... Maxima version: 5.12.0 Maxima build date: 10:6 6/7/2007 host type: i686pcmingw32 lispimplementationtype: GNU Common Lisp (GCL) lispimplementationversion: GCL 2.6.8 I have had the following bug when trying to do the plot plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,15])$ Maxima encountered a Lisp error: Error in PROGN [or a callee]: Expected a LONGFLOAT Automatically continuing.To reenable the Lisp debugger set *debuggerhook* to nil. However, it works when I change the range o y variable. For example, plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,15,15], [y,15,16])$  >Comment By: Robert Dodier (robert_dodier) Date: 20080514 22:50 Message: Logged In: YES user_id=501686 Originator: NO Gnuplot recognizes a missing data indicator (and leaves holes in the plotted mesh for any missing data). I've committed src/plot.lisp r1.125 to output the indicator when the function to be plotted by plot3d fails to evaluate to a number. That fixes this bug. The missing data indicator only works for gnuplot and gnuplot_pipes output, not openmath or any other format; getting openmath to work with missing data would require modifying the Tcl/Tk plotting code in XMaxima. Be that as it may, I'm closing this report as fixed. When someone complains about openmath, we'll open another bug report for it.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:30 Message: Logged In: YES user_id=1991015 Originator: NO mmmm That's true...  Comment By: Raymond Toy (rtoy) Date: 20080428 15:28 Message: Logged In: YES user_id=28849 Originator: NO This is no surprise. The code computes a grid with stepsize (xmaxxmin)/30, where 30 is the default number of samples. If xmax and xmin are both multiples of 15, the step size is always a multiple of 1/2, which has a very nice exact floatingpoint representation. Thus, we will always eventually sample the point 0,0. If you change the grid value, you will find similar things happen, but the boundaries will be different.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 15:15 Message: Logged In: YES user_id=1991015 Originator: NO I already knew what you say... But I thinks is still a few strange, I have try with high number without any problem... The problem appears in boundaries with multiples of fifteen. 15,30,45... no more.  Comment By: Raymond Toy (rtoy) Date: 20080428 14:56 Message: Logged In: YES user_id=28849 Originator: NO There is no need to do wider boundaries. I think we exactly why we get an error. The xy plane is sampled in a grid. The grid plot_options tells us how many samples to take in the x and y plane. With your limits, the grid is such that we eventually sample the point 0,0. Your function is not defined there. Solution is the change your function to something else, so that it doesn't try to compute 0/0 at the origin, or change your limits slightly, or change the grid plot_options.  Comment By: nicolas guarin (nicoguaro) Date: 20080428 14:11 Message: Logged In: YES user_id=1991015 Originator: NO I made the plots between x E [5,5] y E [5,5] incremented by 1. And all the 625 plots was succesful... I will prove with a wider boundaries... See ya  Comment By: nicolas guarin (nicoguaro) Date: 20080428 13:35 Message: Logged In: YES user_id=1991015 Originator: NO plot3d(%, [x,1,45], [y,1,45], [plot_format,gnuplot])$ Hi, I'm in a AMD 2000 with W XP..Maxima 5.14 I have found these numbers with problems... plot3d(%, [x,15,45], [y,15,5], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,30], [y,30,30], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,45,45], [y,45,45], [plot_format,gnuplot])$ plot3d(sin(sqrt(x^2+y^2))/sqrt(x^2+y^2), [x,30,45], [y,30,45], [plot_format,gnuplot])$  Comment By: Raymond Toy (rtoy) Date: 20080409 07:32 Message: Logged In: YES user_id=28849 Originator: NO The error happens because plot3d eventually evaluates your function at x,y = (0,0). This is indeterminate, and T is returned instead of a float. Changing the range changes where the sample points are taken. I do not know how to fix this, other than changing the function to be plotted or changing the range.  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=1938570&group_id=4933 
Sign up for the SourceForge newsletter:
No, thanks