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

Home » Public Forums » archive » PlotS, Color
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
PlotS, Color [message #81609] Sat, 06 October 2012 07:07 Go to next message
robinson.inj is currently offline  robinson.inj
Messages: 32
Registered: August 2007
Member
Hi all,
I would like some help. I have this data
3 50 5
4 60 10
5 70 15
8 80 20
4 90 20
3 100 15
1 110 10
The 2nd and 3rd cols are lon and lat. I need to plot a line conecting the values with especific colors. For instance from 3 to 4 in yellow, from 4 to 8 (and 8 to 4) in red, from 4 to 3 in yellow, and 3 to 1 in blue.
Suggestions?
Rob
Re: PlotS, Color [message #81692 is a reply to message #81609] Sun, 07 October 2012 08:46 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
robinson.inj@gmail.com writes:

> .....It worked after converting scaleddata into integer...or because I updated my Coyote Library.. I will never know :-/

Well, no matter what else you do, updating your
Coyote Library is *always* a good idea! :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
Re: PlotS, Color [message #81693 is a reply to message #81609] Sun, 07 October 2012 08:24 Go to previous message
robinson.inj is currently offline  robinson.inj
Messages: 32
Registered: August 2007
Member
On Sunday, October 7, 2012 1:14:42 AM UTC-4, David Fanning wrote:

>
>
>> Yes, that was the problem. Thank you very much.
>
>> Would you be willing to guess why all lines are white (no color lines)?.
>
>
>
> The most common reason is an out-of-date Coyote Library. :-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>
> Sepore ma de ni thue. ("Perhaps thos speakest truth.")

.....It worked after converting scaleddata into integer...or because I updated my Coyote Library.. I will never know :-/
Re: PlotS, Color [message #81694 is a reply to message #81609] Sat, 06 October 2012 22:14 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
robinson.inj@gmail.com writes:

> Yes, that was the problem. Thank you very much.
> Would you be willing to guess why all lines are white (no color lines)?.

The most common reason is an out-of-date Coyote Library. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
Re: PlotS, Color [message #81696 is a reply to message #81609] Sat, 06 October 2012 22:07 Go to previous message
robinson.inj is currently offline  robinson.inj
Messages: 32
Registered: August 2007
Member
On Saturday, October 6, 2012 9:09:24 PM UTC-4, David Fanning wrote:
>
>> Can someone help me and tell me what I am doing wrong?
>
>
>
> I'm going to guess that s is a two-element array. I
>
> suspect vals is a 1x300 array.
>
>
>
> Cheers,
>
>
>
> David
>
>
>
>
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
>
> Sepore ma de ni thue. ("Perhaps thos speakest truth.")


Hi David,
Yes, that was the problem. Thank you very much.
Would you be willing to guess why all lines are white (no color lines)?.
Rob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Programming Gods Exacting Revenge
Next Topic: IDL 8.2 Installation Woes

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

Current Time: Wed Oct 08 13:52:11 PDT 2025

Total time taken to generate the page: 0.00694 seconds