Has anyone used stippling in contour plot ? [message #89216] |
Tue, 05 August 2014 05:53  |
siumtesfai
Messages: 62 Registered: April 2013
|
Member |
|
|
How can one contour plot with stippling where it shows statistically significant of the trends (e.g temperature trends, zonal wind speed trends etc).
I have the follow 2D array which is filled with zeros and ones
nx = 144
ny = 73
lon = findgen(144)*2.5
lat = findgen(73)*2.5-90
Array=fltarr(nx,ny)
Array(0:20, 20:50)=1 ,anywhere else is zeros
First I have contoured the actual trend values. I want to display where the trends are statistically significant with stippling.
Any suggestion ?
|
|
|
|
Re: Has anyone used stippling in contour plot ? [message #89316 is a reply to message #89315] |
Fri, 15 August 2014 17:46   |
Jim Pendleton
Messages: 165 Registered: November 2011
|
Senior Member |
|
|
On Friday, August 15, 2014 6:35:48 PM UTC-6, Jim P wrote:
> On Tuesday, August 5, 2014 6:53:11 AM UTC-6, siumt...@gmail.com wrote:
>
>> How can one contour plot with stippling where it shows statistically significant of the trends (e.g temperature trends, zonal wind speed trends etc).
>
>>
>
>>
>
>>
>
>> I have the follow 2D array which is filled with zeros and ones
>
>>
>
>>
>
>>
>
>>
>
>>
>
>> nx = 144
>
>>
>
>> ny = 73
>
>>
>
>> lon = findgen(144)*2.5
>
>>
>
>> lat = findgen(73)*2.5-90
>
>>
>
>>
>
>>
>
>> Array=fltarr(nx,ny)
>
>>
>
>>
>
>>
>
>> Array(0:20, 20:50)=1 ,anywhere else is zeros
>
>>
>
>>
>
>>
>
>> First I have contoured the actual trend values. I want to display where the trends are statistically significant with stippling.
>
>>
>
>>
>
>>
>
>> Any suggestion ?
>
>
>
> you might look into the IDLgrPattern object and the C_FILL_PATTERN keyword to the CONTOUR() function or IDLgrContour if you're using Object Graphics.
There is also a handy routine for generating degrees of stippling in lib\utilities\stipple_pattern.pro.
The output from this function can be used as input to the PATTERN property of an IDLgrPattern object.
|
|
|
|
|
|