<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Michele,<br>
<br>
it is hard to say what is going wrong without the data. But I would
recommend to create a common resource object which make it easier to
read and handle the resource settings.<br>
<br>
For example <br>
<br>
<font face="monospace"> resCom = True<br>
resCom@gsnDraw = False<br>
resCom@gsnFrame = False<br>
<br>
resCom@vpWidthF = 0.70 <br>
resCom@vpHeightF = 0.175<br>
<br>
resCom@xyLineThicknesses = linethick1<br>
resCom@xyLineColors = linecolor1<br>
resCom@xyDashPatterns = dashpattern1<br>
<br>
....<br>
<br>
</font><font face="monospace"> res4a = resCom</font><br>
<font face="monospace"> res4b = resCom</font> <br>
<br>
<br>
Put all common resources into resCom and only set in res4a and res4b
the variable resources. You don't need to delete the complete res4a
or res4b object as it is a error prone. It is better to delete only
the unwanted/unneeded resources. <br>
<br>
Hope this helps. If not, is it possible to get the data file?<br>
<br>
-Karin<br>
<br>
<br>
<div class="moz-cite-prefix">Am 26.04.21 um 18:44 schrieb Michele
Petrini - CITG via ncl-talk:<br>
</div>
<blockquote type="cite"
cite="mid:6E47F96D-757A-4153-901A-0F68DE3AE819@tudelft.nl">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="" style="word-wrap:break-word;
line-break:after-white-space">
<div class=""><br class="">
</div>
<div class="" style="color:rgb(0,0,0)">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. </div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)">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. </div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)">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?</div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)">Please find attached the
figure (png), and my ncl code (also, I can provide input
netcdf in case you want to replicate the plot).</div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)">thanks,</div>
<div class="" style="color:rgb(0,0,0)">Michele</div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
<div class="" style="color:rgb(0,0,0)"><br class="">
</div>
</div>
<div><img src="cid:part1.132AB529.70616051@dkrz.de" class=""> </div>
<div class="" style="word-wrap:break-word;
line-break:after-white-space"><br class="">
<div class="">
<div dir="auto" class="" style="word-wrap:break-word;
line-break:after-white-space">
<div style="color:rgb(0,0,0); font-family:Helvetica;
font-size:12px; font-style:normal; font-weight:normal;
letter-spacing:normal; text-align:start; text-indent:0px;
text-transform:none; white-space:normal; word-spacing:0px">
******************************************************************<br
class="">
Michele Petrini, PhD </div>
<div style="color:rgb(0,0,0); font-family:Helvetica;
font-size:12px; font-style:normal; font-weight:normal;
letter-spacing:normal; text-align:start; text-indent:0px;
text-transform:none; white-space:normal; word-spacing:0px">
<br class="">
Department of Geoscience and Remote Sensing, TUDelft<br
class="">
Delft, The Netherlands<br class="">
<br class="">
<a href="mailto:M.Petrini@tudelft.nl" class=""
moz-do-not-send="true">M.Petrini@tudelft.nl</a> <br
class="">
+39 3398367372<br class="">
michele.petrins (Skype alias)<br class="">
<br class="">
<br class="">
</div>
</div>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></pre>
</blockquote>
<br>
</body>
</html>