Re: [Matplotlib-users] How do I make a Mercator map larger

2016-01-05 Thread Eric Firing
On 2016/01/05 9:48 AM, Martin McGlensey wrote:
> Arnaldo,
>
> Thanks for the response. I figured it out. Figsize although the units
> are inches it does not correspond to inches on the display. I had to go
> up to 23 X 12 to get a large image on the display. If I want to fill the
> display what parameters should I use? I’m looking for a large map not a
> large frame size. Maybe I’m not understanding the functions of the
> various arguments used.

Rather than using a large size in inches, increase the value of the 
"dpi" kwarg to "figure()".  When it matches your actual screen dpi, the 
display on the screen should be correct in the specified dimensions in 
inches, *provided* those dimensions plus the margins (toolbar etc.) fit 
on your screen.  If they don't, then decrease the dpi (scaling the 
displayed figure down) until they do.

Eric

>
> Regards,
>
> Marty
>
> *From:*Arnaldo Russo [mailto:arnaldoru...@gmail.com]
> *Sent:* Monday, January 4, 2016 6:43 AM
> *To:* Martin McGlensey 
> *Cc:* matplotlib-users@lists.sourceforge.net
> *Subject:* Re: [Matplotlib-users] How do I make a Mercator map larger
>
> Hi Martin,
>
> Have you tried to save your figure and check if it does not enlarge your
> figure?
>
>  plt.savefig("mercator.png")
>
> Cheers,
>
> Arnaldo.
>
> ---
>
> Arnaldo D'Amaral Pereira Granja Russo
>
> Universidade do Estado de Santa Catarina - UDESC
>
> Pesquisador - Instituto Ambiental Boto Flipper
>
> institutobotoflipper.org
>
> 2016-01-03 20:20 GMT-02:00 Martin McGlensey  >:
>
> Hello,
>
> I’m a new user to both python and basemap. I’ve got my map working
> OK, but would like to make it larger on the display. I’ve tried the
> height and width parameters in the map definition (m=basemap(…) and
> plt.figure(figuresize=(x,y)). Neither appear to have any effect on
> the size of the map.
>
> Is there an easy way to convert map coordinates to inches?
>
> Thanks,
>
> Marty
>
>
> 
> --
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> 
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> --
>
>
>
> ___
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>


--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] How do I make a Mercator map larger

2016-01-05 Thread Martin McGlensey
Arnaldo,

 

Thanks for the response. I figured it out. Figsize although the units are 
inches it does not correspond to inches on the display. I had to go up to 23 X 
12 to get a large image on the display. If I want to fill the display what 
parameters should I use? I’m looking for a large map not a large frame size. 
Maybe I’m not understanding the functions of the various arguments used.

 

Regards,

Marty

 

From: Arnaldo Russo [mailto:arnaldoru...@gmail.com] 
Sent: Monday, January 4, 2016 6:43 AM
To: Martin McGlensey 
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] How do I make a Mercator map larger

 

Hi Martin,

 

Have you tried to save your figure and check if it does not enlarge your figure?

 

plt.savefig("mercator.png")

 

Cheers,

Arnaldo.

 

---

Arnaldo D'Amaral Pereira Granja Russo

Universidade do Estado de Santa Catarina - UDESC

Pesquisador - Instituto Ambiental Boto Flipper

institutobotoflipper .org

 

2016-01-03 20:20 GMT-02:00 Martin McGlensey mailto:mmcg29...@frontier.com> >:

Hello,

 

I’m a new user to both python and basemap. I’ve got my map working OK, but 
would like to make it larger on the display. I’ve tried the height and width 
parameters in the map definition (m=basemap(…) and 
plt.figure(figuresize=(x,y)). Neither appear to have any effect on the size of 
the map.

 

Is there an easy way to convert map coordinates to inches?

 

Thanks,

Marty


--

___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net 
 
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

 

--
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users