Re: Remove the Perimeter line?

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 12 2013 - 12:42:44 MDT

Hi Joakim,
What you are seeing is actually the border created by the TickMark object. It probably seems a bit obscure because there are no actual ticks or labels displayed. That is because the map boundary is circular and only tangentially touches the border in 4 places. I can appreciate your frustration.
You can get rid of this border with this resource setting:

res.pmTickMarkDisplayMode = "Never"

 -dave

On Sep 11, 2013, at 2:13 PM, Joakim Kjellsson <joakim@misu.su.se> wrote:

> Hi
>
> I want to plot a polar plot over Antarctica using PyNGL.
> However, I want the plot to be circular and thus remove the ugly square that is draw around every map plot.
> Looking through the NCL documentation I guess this should be done by mpPerimOn = False, but that does not work.
> Neither does setting mpPerimLineColor = 'Transparent"
> How can this be removed?
> My script can be boiled down to:
>
> res = Ngl.Resources() # map resources
> res.mpProjection = "Orthographic"
> res.mpCenterLatF = -90.
> res.mpCenterLonF = -90.
> res.mpPerimOn = False
> map = Ngl.map(wks,res)
>
> And that nasty Perimeter line keeps being there anyway!
>
> I'm grateful for any help.
>
> Regards
> /Joakim
>
> -----------------------------------------------
> Joakim Kjellsson
> PhD student
> Department of Meteorology (MISU)
> Bolin Centre for Climate Research
> Stockholm University
>
> Web: http://people.su.se/~jokj7135/joakim-misu/
>
> Mail address:
> Svante Arrhenius väg 16C
> 106 91 Stockholm, SWEDEN
>
> Office phone: +46-8-162404
> Cell phone: +46-70-795 35 39
> ------------------------------------------------
>
>
>
>
>
>
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Sep 12 12:42:51 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 22 2013 - 09:37:03 MST