Re: problem in paneling vector-contour plots.

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Jun 10 2014 - 10:48:52 MDT

Hi Verena,


A colleague pointed out a magic resource that seems to do the trick for
your plots. Try adding:

  res@tfDoNDCOverlay = "NDCViewport"

to the resources for the vector plots. I tried it here and it seems to
work.

Rick



On Mon, Jun 9, 2014 at 11:26 AM, Verena Lili <verena.prick@gmail.com> wrote:

> Hi Rick and NCL,
>
> Thanks for looking at my code, Here is I attached the code
> without paneling, Everything is just OK, but as for publication
> I need to panel the plots in one figure, I am so stucked on this case,
> for panelling. If everyone has an idea, please do share. Thanks
>
> ps: just run the code with the same data that I sent previously.
>
>
>
> On Tue, Jun 10, 2014 at 2:14 AM, Rick Brownrigg <brownrig@ucar.edu> wrote:
>
>> Hi,
>>
>> I was unable to duplicate your 1st non-paneled example overlay; I could
>> only plot the contour and vector plot separately. Your script looks very
>> much like one of our examples (panel_13.ncl), so I don't get it.
>>
>> I am perplexed however at these resource settings for the vector plots:
>>
>> res@vfXArray = lats / 180 * PI * A
>> res@tmXBMode = "explicit"
>> res@tmXBValues = (/ 10.,20.,30.,40.,50.,60.,70.,80.,90. /) / 180. * PI
>> * A
>> res@tmXBLabels = (/ 10.,20.,30.,40.,50.,60.,70.,80.,90. /)
>> res@trXMinF = 10/ 180. * PI * A
>> res@trXMaxF = 90/ 180. * PI * A
>>
>> doesn't that put the x-axis for the contour and vector plots on very
>> different scales?
>>
>> Wish I could be of more help...
>> Rick
>>
>>
>>
>>
>>
>> On Sun, Jun 8, 2014 at 7:23 AM, Verena Lili <verena.prick@gmail.com>
>> wrote:
>>
>>> Hallo NCL developer / people.
>>>
>>> I am experiencing a small problem in panelling the vector conour plots
>>> as you can
>>> see attached herewith. Without paneling both contour and vector, it
>>> works OK,
>>> once I did a paneling plot, it seems that the vector diminsihed.
>>> I attached a script and a small data from my model experiments.
>>> Thank you for any help!.
>>>
>>> --
>>> Regards,
>>> Dr. Verena.
>>> School of Marine and Atmospheric Sciences
>>> Stony Brook University
>>> homepage: http://www.somas.stonybrook.edu/
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
>
> --
> Regards,
> Dr. Verena.
> School of Marine and Atmospheric Sciences
> Stony Brook University
> homepage: http://www.somas.stonybrook.edu/
>

Received on Tue Jun 10 04:49:04 2014

This archive was generated by hypermail 2.1.8 : Wed Jul 23 2014 - 15:33:46 MDT