[ncl-talk] Question regarding plot going beyond the plot page
Barry Lynn
barry.h.lynn at gmail.com
Tue Feb 20 11:10:57 MST 2024
Hi Andrew:
Could you please pass along the code snippet you needed to get this right?
I often have this problem.
Thank you,
Barry
On Tue, Feb 20, 2024 at 7:15 PM Andrew Kren - NOAA Federal via ncl-talk <
ncl-talk at mailman.ucar.edu> wrote:
> I was able to figure it out Dave. I used the vP settings to adjust the
> page. And yes I always start out with eps and then use crop, etc. to
> convert to png.
>
> On Tue, Feb 20, 2024 at 12:13 PM Dave Allured - NOAA Affiliate <
> dave.allured at noaa.gov> wrote:
>
>> Andrew, can you get a 100% correct plot with terrain and reflectivity,
>> when gsnMaximize and gsnPaperOrientation are omitted? If so, then I
>> suggest this workaround. Generate the correct plot that way. For good
>> resolution, generate as PDF or postscript, not jpeg or png. Then use
>> external utilities to crop, rotate, and resize, as needed. To debug the
>> other NCL functionality could be difficult.
>>
>>
>> On Mon, Feb 19, 2024 at 3:02 PM Andrew Kren - NOAA Federal via ncl-talk <
>> ncl-talk at mailman.ucar.edu> wrote:
>>
>>> Hi all,
>>>
>>> I sent a help request a few days ago. I am plotting a terrain map via a
>>> netcdf file and am overlaying reflectivity data. I am able to get this
>>> nearly 100% right. However, when I set gsnMaximize to True and
>>> gsnPaperOrientation to Portrait, the plot shows up in the vertical and the
>>> label bar and other text below the image is not shown or cut off (see
>>> example in the email). Does anyone know what could be causing this? When I
>>> did not have the terrain file, it plotted just fine within the pane. I have
>>> gone back and forth with/without maximizing and between portrait and
>>> landscape, and it was not working.
>>>
>>> Thanks much!
>>>
>>> [image: MRS_RG_CRADAR_F000.png]
>>>
>>> --
>>>
>>> Andrew Kren
>>> Meteorologist
>>> NOAA's National Weather Service
>>> Raleigh Forecast Office
>>> 1005 Capability Drive, Suite 300
>>> Raleigh, North Carolina 27606
>>> voice: 919-326-1035
>>> mailto: andrew.kren at noaa.govhttp://www.weather.gov/rah
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at mailman.ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>
>
> --
>
> Andrew Kren
> Meteorologist
> NOAA's National Weather Service
> Raleigh Forecast Office
> 1005 Capability Drive, Suite 300
> Raleigh, North Carolina 27606
> voice: 919-326-1035
> mailto: andrew.kren at noaa.govhttp://www.weather.gov/rah
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at mailman.ucar.edu
> List instructions, subscriber options, unsubscribe:
> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
--
Barry H. Lynn, Ph.D
Senior Scientist, Lecturer,
The Institute of Earth Sciences,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581
Weather It Is, LTD
Weather and Climate Focus
https://weather-it-is.com <http://weather-it-is.com>
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20240220/d6ec5911/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MRS_RG_CRADAR_F000.png
Type: image/png
Size: 941173 bytes
Desc: not available
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20240220/d6ec5911/attachment-0001.png>
More information about the ncl-talk
mailing list