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

Home » Public Forums » archive » problem with plot
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: problem with plot [message #56737 is a reply to message #56684] Wed, 14 November 2007 05:29 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nakisa writes:

> I have two other questions:
> 1) how can I use color in plots, I see some commands ,but most of them
> doesn't agree with "plot " . I want to draw three plots with different
> colors in one frame, I know "oplot" do this for me, but I can't
> specify each plot a one color! What should I do?

The one color you have doesn't happen to be red, does it?
I would guess a DEVICE, DECOMPOSED=0 might help. Otherwise,
there is a LOT of color information on my web page.

> 2) I have a 3 dimensional data, (x,y,z) , is there any way to plot a
> contour of these data ? for using contour and mesh , z must bas 2
> dimensional array. But here I have only one dimensional array for z .
> I write "contour z,x,y " IDL doesn't run.

If your version of IDL supports it, you can try setting
the IRREGULAR keyword on your contour command. Otherwise,
you will have to grid the data yourself with TRIANGULATE
and TRIGRID.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: capital letters in file names?
Next Topic: Multi-plot error. Could anyone help me?

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

Current Time: Sat Oct 11 15:51:55 PDT 2025

Total time taken to generate the page: 0.96011 seconds