Re: iPlot Axes Colour [message #77134] |
Thu, 04 August 2011 09:07 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
> TEST is an undocumented keyword used by the developers to get a plot on
> the screen, quickly. It would be at odds to use it with NODATA.
Yes, I can see that. I just don't understand what you
would be testing if none of the keywords work with it. ;-)
My rule of thumb for iTools is that things work when
they work and don't when they don't. I learned this
philosophy when working in Africa.
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.")
|
|
|
Re: iPlot Axes Colour [message #77135 is a reply to message #77134] |
Thu, 04 August 2011 09:00  |
Mark Piper
Messages: 198 Registered: December 2009
|
Senior Member |
|
|
On 8/4/2011 9:39 AM, David Fanning wrote:
> Mark Piper writes:
>
>>
>> On 8/4/2011 9:24 AM, David Fanning wrote:
>>> Mark Piper writes:
>>>
>>>> Try the STYLE keyword:
>>>>
>>>> IDL> iplot, /test, style='idl classic'
>>>
>>> How do you change the color of the data when you do
>>> this, though? This doesn't seem to work:
>>>
>>> IDL> iplot, /test, style='idl classic', color=[30,144,255]
>>>
>>> Cheers,
>>>
>>> David
>>
>> Erm, this shows how often I use itools. How about this:
>>
>> x = findgen(10)
>> iplot, x, style='idl classic', /nodata
>> iplot, x, color=[200,0,0], /overplot
>
> I understand why. They are incomprehensible! Why
> doesn't *this* work, for example, following your
> example!?
>
> iplot, /test, /nodata
>
> Sheesh!
>
> Cheers,
>
> David
>
>
TEST is an undocumented keyword used by the developers to get a plot on
the screen, quickly. It would be at odds to use it with NODATA.
mp
|
|
|
Re: iPlot Axes Colour [message #77136 is a reply to message #77135] |
Thu, 04 August 2011 08:39  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
>
> On 8/4/2011 9:24 AM, David Fanning wrote:
>> Mark Piper writes:
>>
>>> Try the STYLE keyword:
>>>
>>> IDL> iplot, /test, style='idl classic'
>>
>> How do you change the color of the data when you do
>> this, though? This doesn't seem to work:
>>
>> IDL> iplot, /test, style='idl classic', color=[30,144,255]
>>
>> Cheers,
>>
>> David
>
> Erm, this shows how often I use itools. How about this:
>
> x = findgen(10)
> iplot, x, style='idl classic', /nodata
> iplot, x, color=[200,0,0], /overplot
I understand why. They are incomprehensible! Why
doesn't *this* work, for example, following your
example!?
iplot, /test, /nodata
Sheesh!
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.")
|
|
|
Re: iPlot Axes Colour [message #77137 is a reply to message #77136] |
Thu, 04 August 2011 08:34  |
Mark Piper
Messages: 198 Registered: December 2009
|
Senior Member |
|
|
On 8/4/2011 9:24 AM, David Fanning wrote:
> Mark Piper writes:
>
>> Try the STYLE keyword:
>>
>> IDL> iplot, /test, style='idl classic'
>
> How do you change the color of the data when you do
> this, though? This doesn't seem to work:
>
> IDL> iplot, /test, style='idl classic', color=[30,144,255]
>
> Cheers,
>
> David
Erm, this shows how often I use itools. How about this:
x = findgen(10)
iplot, x, style='idl classic', /nodata
iplot, x, color=[200,0,0], /overplot
mp
|
|
|
Re: iPlot Axes Colour [message #77138 is a reply to message #77137] |
Thu, 04 August 2011 08:24  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Piper writes:
> Try the STYLE keyword:
>
> IDL> iplot, /test, style='idl classic'
How do you change the color of the data when you do
this, though? This doesn't seem to work:
IDL> iplot, /test, style='idl classic', color=[30,144,255]
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.")
|
|
|
Re: iPlot Axes Colour [message #77140 is a reply to message #77138] |
Thu, 04 August 2011 08:13  |
Mark Piper
Messages: 198 Registered: December 2009
|
Senior Member |
|
|
On 8/4/2011 12:46 AM, Maxwell Peck wrote:
> Hi All,
>
> I'm not sure if I'm losing my mind here but I'm trying to use a black
> background in an iplot and have the axes/text etc white. The actual
> plot data itself is working fine with the colours i'm choosing. I
> naively thought setting the color keyword to white would fix this but
> it doesn't seem to work. Anyone have any idea where I'm going wrong?
>
> Cheers
> Max
Hi Max,
Try the STYLE keyword:
IDL> iplot, /test, style='idl classic'
mp
|
|
|
Re: iPlot Axes Colour [message #77141 is a reply to message #77140] |
Thu, 04 August 2011 06:12  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Maxwell Peck writes:
> I'm not sure if I'm losing my mind here but I'm trying to use a black
> background in an iplot and have the axes/text etc white. The actual
> plot data itself is working fine with the colours i'm choosing. I
> naively thought setting the color keyword to white would fix this but
> it doesn't seem to work. Anyone have any idea where I'm going wrong?
I don't know anything about iPlots, but if you give up
on them, Coyote Graphics plots know how to do this:
IDL> cgplot, cgdemodata(1), background='black', $
color='pink', axiscolor='white', /window
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.")
|
|
|