Re: Colorbar with fixed level and color [message #81410 is a reply to message #81409] |
Mon, 17 September 2012 05:31   |
Rosie
Messages: 27 Registered: September 2012
|
Junior Member |
|
|
On Sunday, September 16, 2012 11:43:47 PM UTC+1, David Fanning wrote:
> Rosie writes:
>
>
>
>> 1.It is working in unix, though cgerase or other cg command
>
>> is not working in windows environment. Also Brewer command
>
>> seems not working in windows.
>
>
>
> I spend my life working in a Windows environment, so I'm
>
> pretty sure the Coyote Graphics routines work there. :-)
>
>
>
> It seems more likely to me that the Library hasn't been
>
> installed properly. Read the directions carefully:
>
>
>
> http://www.idlcoyote.com/code_tips/installcoyote.php
>
>
>
> What gives you the impression they don't work?
>
>
>
>> 2.If I want to specify colorbar at bottom of contour plot, then
>
>> I need to put position command on contour command as well
>
>> as on colorbar command?
>
>
>
> Yes, if you need more space, you must position things accordingly.
>
>
>
>> 3.I want to draw smooth contouring of z1. Shall I put it as
>
>> z1=smooth(z1,2) and then contour,z1?
>
>
>
> Smoothing will help, although the second parameter to Smooth
>
> must be at least a 3 to do any good. It should also be an
>
> odd number.
>
>
>
>> 4.I want to thicken the zero line.
>
>
>
> You may have to draw this thicker after the fact. cgPlotS
>
> should work. You can use the usual ![XY].Window or ![XY].CRange
>
> system variables to work out where to draw.
>
>
>
>> 5. For showing significant test, I put c_orient=45. If I only
>
>> want to see dot instead of hatching, can I do that?
>
>
>
> I don' know off-hand. It has been 20 years or so since I
>
> have used fill patterns. And I'm off to staff a Poudre
>
> Wilderness Volunteers booth at a local fair today. But,
>
> I would investigate how to create fill patterns.
>
>
>
> 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.")
Dear David,
Thank you so much for all the information.
Though it ran perfectly alright in unix, but in windows it shows: 'attempt to call undefined procedure/function cgLoadct'. However, in windows when I put Loadct, it accepts the command. Do you think I should reinstall IDL?
Regards,
|
|
|