[ncl-talk] Problems of plot without borders
Mary Haley
haley at ucar.edu
Wed Oct 11 08:14:09 MDT 2017
Hi Zhu,
We've been looking into this problem offline, using the script you provided.
There's definitely an issue, and I think it has to with the internal code
that creates the PNG image than it does with NCL itself.
I've created a ticket on this (NCL-2672), using a test script that Adam
Phillips created.
Meanwhile, I think you can work around the problem by commenting these
resources:
; mpres at tmXBBorderOn = False
; mpres at tmXTBorderOn = False
; mpres at tmYLBorderOn = False
; mpres at tmYRBorderOn = False
and setting these two resources:
mpres at tmBorderLineColor = "white" ; work-around to cover up
mpres at tmBorderThicknessF = 6.0 ; strange border lines
This will cause the border to get drawn in white, hence covering up those
stray border lines. You may need to play around with the border thickness
value, as 6.0 may be too high. 1.0 is the default.
Hope this is acceptable!
--Mary
On Mon, Oct 9, 2017 at 1:38 AM, Zhu CE <lovingzhuce at 163.com> wrote:
> Hi everyone,
>
> I am trying to draw plot without borders by setting:
> *mpres at tmXBBorderOn = False*
> * mpres at tmXTBorderOn = False*
> * mpres at tmYLBorderOn = False*
> * mpres at tmYRBorderOn = False*
> but the final plot still has slight border lines (lines with color as
> filling colors).
>
> Attached are my script and final plot, could you help me?
>
> Thanks a lot!
>
>
>
> 【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>>
> <http://you.163.com/item/detail?id=1165011&from=web_gg_mail_jiaobiao_9>
>
>
> _______________________________________________
> 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/20171011/5242ecaf/attachment.html>
More information about the ncl-talk
mailing list