[ncl-talk] gsnMaximize space above and bellow figure Re: figure orientation and gsnMaximize

kevin.lemorzadec kevin.lemorzadec at mun.ca
Fri Oct 3 06:46:43 MDT 2014


>
> I am unsure what application you are wanting to use the .eps file in, but
> you can always get rid of all white space using an external program
> (Illustrator for example) or by invoking convert and using the -trim
> +repage options.
>
That's what I have been doing in latex but it is not convenient so I guess
I will just use another software to generate my plots.

Thanks for your help,

Kevin


On Fri, Oct 3, 2014 at 12:00 AM, Adam Phillips <asphilli at ucar.edu> wrote:

> Hi Kevin,
> v5.1.0 is over 5 years old and there's been numerous graphical changes and
> enhancements since then. I am not sure whether you can change the size of
> the output .eps file from 8.5" x 11". Setting wkPaperWidthF,
> wkPaperHeightF, and/or wkPaperSize in your workstation resources didn't
> seem to help. Perhaps a developer can chime in here on whether that is
> possible.
>
> I am unsure what application you are wanting to use the .eps file in, but
> you can always get rid of all white space using an external program
> (Illustrator for example) or by invoking convert and using the -trim
> +repage options.
> Adam
>
> On Thu, Oct 2, 2014 at 3:25 PM, kevin.lemorzadec <kevin.lemorzadec at mun.ca>
> wrote:
>
>> Hello,
>>
>> The suggestion of using gsnPaperOrientation instead of wkOrientation work
>> well for my first issue. I still can't get with ncl 6.1.0 the same figure
>> as I had with ncl 5.1.1
>> Now I have a white space underneath the figure that i can't get ride of.
>> I tried to set gsnPaperMargin= 0.0 but the white space in teh bottom of the
>> plot doesn't disappear.
>>
>> Any suggestion?
>>
>> Kevin
>>
>> On Thu, Oct 2, 2014 at 5:55 PM, Adam Phillips <asphilli at ucar.edu> wrote:
>>
>>> Hi Kevin,
>>> I would suggest using gsnPaperOrientation in tandem with gsnMaximize.
>>> (Both would be set in your res resource list.) I do not think wkOrientation
>>> works with gsnMaximize.
>>>
>>> I tried adding res at gsnMaximize = True and res at gsnPaperOrientation =
>>> "portrait" (or landscape) to your script (while removing the wkOrientation
>>> resource) and I got the results that I would expect.
>>>
>>> Hope that helps. If not, please let ncl-talk know.
>>> Adam
>>>
>>>
>>> On Thu, Oct 2, 2014 at 7:19 AM, kevin.lemorzadec <
>>> kevin.lemorzadec at mun.ca> wrote:
>>>
>>>> Dear ncl users,
>>>>
>>>> I am trying to maximize the size of the figure and setting its
>>>> orientation to portrait.
>>>> In version 5.1.1 it seems that this was happening by default. In the
>>>> current version that I am using (6.1.0) it is not the case.
>>>> I then used wkOrientation and gsnMaximize to make that happen but the
>>>> orientation of the figure doesn't seem to be taken into account.
>>>> I am attaching my minimized script and data.
>>>>
>>>> Thanks yo for your suggestions,
>>>>
>>>> --
>>>> Kevin Le Morzadec - Ph.D. candidate
>>>>                                Dept of Physics and Physical
>>>> Oceanography,
>>>>                                Memorial University of Newfoundland,
>>>> Canada
>>>>                                Tel 709-864-8654
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>>
>>> --
>>> Adam Phillips
>>> Associate Scientist,  Climate and Global Dynamics Division, NCAR
>>> www.cgd.ucar.edu/staff/asphilli/   303-497-1726
>>>
>>> <http://www.cgd.ucar.edu/staff/asphilli>
>>>
>>
>>
>>
>> --
>> Kevin Le Morzadec - Ph.D. candidate
>>                                Dept of Physics and Physical Oceanography,
>>                                Memorial University of Newfoundland, Canada
>>                                Tel 709-864-8654
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
> --
> Adam Phillips
> Associate Scientist,  Climate and Global Dynamics Division, NCAR
> www.cgd.ucar.edu/staff/asphilli/   303-497-1726
>
> <http://www.cgd.ucar.edu/staff/asphilli>
>



-- 
Kevin Le Morzadec - Ph.D. candidate
                               Dept of Physics and Physical Oceanography,
                               Memorial University of Newfoundland, Canada
                               Tel 709-864-8654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141003/b20ae789/attachment.html 


More information about the ncl-talk mailing list