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

Home » Public Forums » archive » Re: plot with symbols of varying size
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: plot with symbols of varying size [message #21829] Tue, 26 September 2000 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Jonathan Joseph (jj21@cornell.edu) writes:

> I would like to make a plot and vary the
> size of the symbol of each point based on
> some criteria.
>
> Is there any way to do this in one function
> call, or must I plot each point individually
> with oplot and the symsize specified?

I'm afraid a loop is the only way to do this.
But in my experience, it really is not so bad.
People seldom have 100000 points in their data
set.

> With object graphics it also seems to be a pain, with
> the need to create a vector of symbol objects
> each with a different size.

A pain!? Well, computers take some of the sting
out of the grunt work. I guess it could take
as much as 4-5 lines of code. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HDF_SD_START: Unable to start the HDF-SD interface.
Next Topic: plot with symbols of varying size

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

Current Time: Wed Oct 08 14:56:46 PDT 2025

Total time taken to generate the page: 0.00401 seconds