[ncl-talk] Fill patterns (hatching) for xy plots?
Tabish Ansari
tabishumaransari at gmail.com
Thu Jun 20 11:05:13 MDT 2019
Hi Dennis
That works - thanks a lot!
Cheers
Tabish
Tabish U Ansari
PhD student, Lancaster Environment Center
Lancaster Univeristy
Bailrigg, Lancaster,
LA1 4YW, United Kingdom
On Tue, 4 Jun 2019 at 18:56, Dennis Shea <shea at ucar.edu> wrote:
> What about drawing the xy plot and adding a polygon?
> Attached is a modification of:
> *http://www.ncl.ucar.edu/Applications/Scripts/xy_17.ncl*
> <http://www.ncl.ucar.edu/Applications/Scripts/xy_17.ncl>
>
> *%> ncl t*st.xy17.fsFillIndex.ncl
>
>
> On Tue, Jun 4, 2019 at 9:35 AM Tabish Ansari <tabishumaransari at gmail.com>
> wrote:
>
>> Hi Rashed
>>
>> Yes, but I want to use them for shading areas between two lines in an
>> xy-plot. I have two overlaid stacks of multiple time-series on the same
>> axes. While I want to fill colors between lines of one stack, I want to
>> fill patterns between lines of the other stack. But it seems like NCL
>> doesn't have an option to do this, unfortunately. I tried different
>> opacities of grey/black for the other stack but it obscures the message.
>>
>>
>> Cheers,
>>
>> Tabish
>>
>>
>> Tabish U Ansari
>> PhD student, Lancaster Environment Center
>> Lancaster Univeristy
>> Bailrigg, Lancaster,
>> LA1 4YW, United Kingdom
>>
>>
>> On Tue, 4 Jun 2019 at 06:17, Rashed Mahmood <rashidcomsis at gmail.com>
>> wrote:
>>
>>> I think the bar charts can use these filled patterns, e.g.:
>>> *gsnXYBarChartPatterns*
>>>
>>>
>>> https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnXYBarChart
>>>
>>> On Mon, Jun 3, 2019 at 9:44 AM Tabish Ansari <tabishumaransari at gmail.com>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> Is it possible to use fill patterns instead of color shading in xy
>>>> plots? The following patterns are available for contour plots but not xy
>>>> plots:
>>>> https://www.ncl.ucar.edu/Document/Graphics/Images/fillpatterns.png
>>>>
>>>> Cheers
>>>>
>>>> Tabish
>>>>
>>>> Tabish U Ansari
>>>> PhD student, Lancaster Environment Center
>>>> Lancaster Univeristy
>>>> Bailrigg, Lancaster,
>>>> LA1 4YW, United Kingdom
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190620/679288dd/attachment.html>
More information about the ncl-talk
mailing list