[ncl-talk] issue with dash pattern in multi-panel xy2 plot

Michele Petrini - CITG M.Petrini at tudelft.nl
Mon Apr 26 10:44:39 MDT 2021


I am plotting multi-panel timeseries using the gsn_csm_xy2 function, and in each panel I am plotting 6 different curves with different colours/thickness/dash patterns.

Even though the line thickness/dash patterns resources are always the same in each panel, the curves in two panels (second and fourth from the top in the png attached) look different - the lines are slightly thicker, and also the dash pattern is completely different.

I tried to create myself dash patterns, but I got the same difference. I carefully checked all the variables, and they all have same dimensions. One thing that maybe could create some issues is that the time dimension for each variable is quite large (ca. 40,000 values), but still I can’t figure out why this would happen. Do you have any clue why I am getting this and how to fix it?

Please find attached the figure (png), and my ncl code (also, I can provide input netcdf in case you want to replicate the plot).

thanks,
Michele



[cid:9407cc29-29ea-4e81-8426-6d83a1e64f0f at forest.intra]

******************************************************************
Michele Petrini, PhD

Department of Geoscience and Remote Sensing, TUDelft
Delft, The Netherlands

M.Petrini at tudelft.nl<mailto:M.Petrini at tudelft.nl>
+39 3398367372
michele.petrins (Skype alias)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210426/331613a1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeseries.sensitivity.long.png
Type: image/png
Size: 294191 bytes
Desc: timeseries.sensitivity.long.png
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210426/331613a1/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: timeseries_logfiles_sensitivityruns.ncl
Type: application/octet-stream
Size: 29268 bytes
Desc: timeseries_logfiles_sensitivityruns.ncl
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20210426/331613a1/attachment-0001.obj>


More information about the ncl-talk mailing list