Re: Changing the axis projection

Janosch Hoffmann <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <dd1d6bc763024dd1a75ea7613bb019d8@SIXPR06MB336.apcprd06.prod.outlook.com>
Hi Paul,

I tried doing what you said. However, I am currently using GMT 4.5.9 and I'm guessing that's why it didn't work. These are the errors I get:

grdimage: Map region exceeds 360 degrees
psxy: Map region exceeds 360 degrees
psclip: Map region exceeds 360 degrees
psxy: Map region exceeds 360 degrees

Is there supposed to be a "e" in the -R command? like this -Re500000 or is that a typo.

Cheers

Janosch


________________________________________
From: World-Wide GMT Usage and Help Mailing List <[email protected]> on behalf of Paul Wessel <[email protected]>
Sent: Wednesday, 29 January 2014 5:13 AM
To: [email protected]
Subject: Re: [GMT-HELP] Changing the axis projection

In GMT 5 you specify your -R in projected (here, meter) coordinates and give the corresponding -Js scale, i.e, something like this

psbasemap -Re500000/2350000/500000/2000000 -Js0/-90/1:10000000 -Baf > map.ps

Your actual -Js parameters may depend on whether there was a standard parallel given, etc, and what your central longitude was.

-p

On Jan 28, 2014, at 3:17 AM, Janosch Hoffmann <[email protected]> wrote:

> Hi all,
>
> Hopefully some one can help me. I currently have a map of a section of Antarctica. The data I am plotting is in the Antarctic stereographic projection. I am using the following command to create it:
>
>   x_min=500000
>   x_max=2350000
>   y_min=500000
>   y_max=2000000
>
>   project_size=1:10000000
>   scale=250000
>
>  psbasemap -Jx$project_size -R$x_min/$x_max/$y_min/$y_max -B$scale -K > $plotfile
>
> My problem is I want to plot this exact region and have the map look exactly the same except I want lat/lon instead of metres on the axis bars. Is there any way of doing this. Do I need to transform the coordinates to lat/lon for this to work?
>
> Here is a link to an output ps file:
>
> https://drive.google.com/file/d/0B9_1YzkpQ28JamJiVGpHRDJ0YUU/edit?usp=sharing
>
> Cheers
>
> Janosch Hoffmann
> To unsubscribe, send the message "signoff gmt-help" to [email protected]

To unsubscribe, send the message "signoff gmt-help" to [email protected]

To unsubscribe, send the message "signoff gmt-help" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.