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

Home » Public Forums » archive » Re: plot colored ellipses
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: plot colored ellipses [message #79660 is a reply to message #79656] Sun, 25 March 2012 07:59 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bing999 writes:

> I made a simple 2D scatter plot from a square array "matrix", using
> plot, matrix,psym=3. I would like to make nice-looking images by:
> - plotting ellipses instead of points (but centered on the points
> coordinates)
> - orientate these ellipses as I want
> - use different colors for them
> - apply a color gradient to each ellipse, i.e bright red in the center
> and light at the edge
> - etc
>
> Could you please tell me where I should start to make such image?

I would start in your dreams, because I'm pretty sure
that's the only place where this is likely to happen.
It *definitely* is not going to happen in IDL direct
graphics routines. :-)

Well, I guess you could figure out how to draw and rotate
ellipses, and then load them for use with plot commands.
(See SymCat for an example of how this is done.) And, you
could certainly figure out how to make them different colors.

But there is no chance whatsoever of a color gradient. :-)

Sounds like something function graphics ought to be able to
do. ;-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL_Savefile use
Next Topic: CG Elevation image + arbitrary discrete colorbar

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

Current Time: Fri Oct 10 07:43:06 PDT 2025

Total time taken to generate the page: 0.33285 seconds