comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » plotting one point with plot3d()
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: plotting one point with plot3d() [message #83441 is a reply to message #83404] Wed, 06 March 2013 08:25 Go to previous messageGo to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Sunday, March 3, 2013 7:19:49 AM UTC-7, David Grier wrote:
> In making an animation, I wanted to move a single point around a three-dimensional
>
> plot, and ran into a bug in IDL 8.2.2. It turns out that it's possible to plot a single point
>
> with plot3d():
>
>
>
> IDL> p = plot3d( [1], [2], [3], symbol = "o" )
>
>
>
> It is not possible, however, to update that point:
>
>
>
> IDL> p.putdata, [2], [3], [4]
>
> % Attempt to subscript SZDIMS with <LONG ( 1)> is out of range.
>
>
>
> The two-dimensional equivalent works just fine with plot().
>
> I've found a kludgy work-around, but just thought I'd mention the bug.
>
> It also would be nice if plot() and plot3d() would accept scalar x, y, and z arguments
>
> for the special case of plotting just one point.
>
>
>
> All the best,
>
>
>
> David

Done! Eddie fixed this yesterday; it'll be in 8.2.3.

mp
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: NG save method
Next Topic: Re: Grid lines misaligned when using CONTOUR and MAP_SET

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:27:59 PDT 2025

Total time taken to generate the page: 0.00196 seconds