[gradsusr] Filling entire plot area issue..

Stephen McMillan smcmillan at planalytics.com
Thu Feb 27 15:36:27 EST 2014


William,
See if this gets you close enough:

'set lat 10 70'
'set lon -170 -50'
'set mpvals -120 -76 20 58'
'set mproj nps'

I know it's stereo polar, but I think it looks less distorted than if you
stick with the original projection you showed.  I assume you were using the
projection used by the NAM.  Good luck--

Stephen

[image: Inline image 1]


On Thu, Feb 27, 2014 at 3:27 PM, L.B. <bcbass2989 at gmail.com> wrote:

> Hmmm, yeah I got frustrated trying to do the same. It seems you must use a
> polar stereographic projection to use mpvals - which I didnt particularly
> care for. Maybe this is something that can be fixed with the next version
> of GrADS. Somehow redo the drawing system, or allow you to crop.
>
> *William (L.B.) LaForce*
> Meteorologist
> Central Michigan University '13
> www.tornadoinsanity.com
>
>
> On Thu, Feb 27, 2014 at 3:21 PM, Jeff Duda <jeffduda319 at gmail.com> wrote:
>
>> L.B.,
>> I agree with Stephen's suggestions.  I have played around with the mpvals
>> function to make my own forecast graphics.  An example is on my forecast
>> graphics page (
>> http://www.meteor.iastate.edu/~jdduda/forecast/loop_NAM_CONUS.htm?param=full_500mb&cycle=18Z).
>> Unfortunately, I do not know the projections well enough to know exactly
>> what values to use to get the entire domain in the frame.  I got frustrated
>> and gave up after getting the best look, which is being used to make the
>> graphics in the link.  Maybe you'll have better luck than me.
>>
>> Jeff
>>
>>
>> On Thu, Feb 27, 2014 at 2:16 PM, L.B. <bcbass2989 at gmail.com> wrote:
>>
>>> I will take a look at the mpvals. I know you can zoom in by reducing the
>>> lat/lon pairs - guess I should have said I want that full domain plotted :P
>>>
>>> *William (L.B.) LaForce*
>>> Meteorologist
>>> Central Michigan University '13
>>> www.tornadoinsanity.com
>>>
>>>
>>> On Thu, Feb 27, 2014 at 3:00 PM, Stephen McMillan <
>>> smcmillan at planalytics.com> wrote:
>>>
>>>> William,
>>>> You can "zoom in" by reducing the lat and lon ranges before you display
>>>> the variable.  Also, try using 'set mpvals...' (see
>>>> http://grads.iges.org/grads/gadoc/gradcomdsetmpvals.html) to specify
>>>> which areas you wanted included in the plot.
>>>> Stephen Mc
>>>>
>>>>
>>>> On Thu, Feb 27, 2014 at 2:42 PM, L.B. <bcbass2989 at gmail.com> wrote:
>>>>
>>>>> Hello all,
>>>>>
>>>>> I have been having an issue of trying to fill the entire plot area.
>>>>> Usually the extra white space is used for text and such, but in my case I
>>>>> want to fill the entire plot area (or most of it) and get rid of as much
>>>>> white space as possible. I have played around with various values for vpage
>>>>> and parea as well as the image size output (so it is NOT distorted), and it
>>>>> just seems to re-scale the image, and not let me fill the entire area.
>>>>> Ideally it would be nice to set your parea>vpage, but that's not possible.
>>>>> I have posted an example image below. I made the background black to show
>>>>> you all the excess space. Now obviously the image is not rectangular, and I
>>>>> have cropped the left and the right side, but how can I get rid of that
>>>>> excess on the top and bottom without using an external utility to crop it
>>>>> after the fact?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> *William (L.B.) LaForce*
>>>>> Meteorologist
>>>>> Central Michigan University '13
>>>>> www.tornadoinsanity.com
>>>>>
>>>>> _______________________________________________
>>>>> gradsusr mailing list
>>>>> gradsusr at gradsusr.org
>>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>>
>>>>>
>>>> ***************************************************
>>>> The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
>>>>
>>>> If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
>>>> ***************************************************
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> gradsusr mailing list
>>>> gradsusr at gradsusr.org
>>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>>
>>>>
>>>
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://gradsusr.org/mailman/listinfo/gradsusr
>>>
>>>
>>
>>
>> --
>> Jeff Duda
>> Graduate research assistant
>> University of Oklahoma School of Meteorology
>> Center for Analysis and Prediction of Storms
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>

***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. 

If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140227/a51ba093/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 53799 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20140227/a51ba093/attachment-0001.png 


More information about the gradsusr mailing list