[ncl-talk] Question regarding plot going beyond the plot page

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Tue Feb 20 10:12:43 MST 2024


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20240220/ba8f58dd/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/ba8f58dd/attachment-0001.png>


More information about the ncl-talk mailing list