[ncl-talk] gsnHistogramCompare
Alan Brammer
abrammer at albany.edu
Fri Oct 16 08:23:44 MDT 2015
Did you try setting gsFillIndex to a 2 value array. See below:
gsres = True
gsres at gsFillIndex = (/2,3/)
fillindex = get_res_value(gsres,"gsFillIndex",(/0,6/))
print(fillindex)
Variable: fillindex
Type: integer
Total Size: 8 bytes
2 values
Number of Dimensions: 1
Dimensions and sizes: [2]
Coordinates:
(0) 2
(1) 3
Alan.
> On 16 Oct 2015, at 02:39, Kreienkamp Frank <Frank.Kreienkamp at dwd.de> wrote:
>
> Hello,
>
> i start to answer my own question. It looks like that there is only a fixed definition for the filling:
> I have found in '…/ncl/lib/ncarg/nclscripts/csm/gsn_code.ncl' line 8310f the fixed definition of
> if(compare)
> fillindex = get_res_value(gsres,"gsFillIndex",(/0,6/))
> …..
> Is it possible to add a resource to provide the opportunity to change this setting? For both 0 and 6?
>
> Frank
>
>
> Von: ncl-talk-bounces at ucar.edu [mailto:ncl-talk-bounces at ucar.edu] Im Auftrag von Kreienkamp Frank
> Gesendet: Freitag, 16. Oktober 2015 08:12
> An: ncl-talk at ucar.edu
> Betreff: [ncl-talk] gsnHistogramCompare
>
> Hello,
>
> i am using gsnHistogramCompare <https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnHistogramCompare> . The standard provides filled front bars and not filled bars in the background. Both with the same color. What resources can i use to give the front and background different colors and how can I change the background bars towards filled bars?
>
> Thanks in advance
> Frank
>
>
>
> _______________________________________________
> 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/20151016/db87962f/attachment.html
More information about the ncl-talk
mailing list