Re: Rotating a grid

Shahar Shani-Kadmiel <[email protected]>
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Hi,

set xcoordinate to be -y and ycoordinate to be x

This is based on the 2d rotation matrix:
R(theta) = [[cos(theta), -sin(theta)], [sin(thete), cos(theta)]]
where theta is the cow rotation angle.

Shahar

On Nov 23, 2013, at 8:07 PM, Michael Anenburg <[email protected]> wrote:

> I have a grid with xy coordinates (not geographic, cartesian) and I want to rotate it 90 degrees, or find some way to display it rotated using grdimage.
> grdrotater does not seem like the solution I need, or maybe it is - I just don't know how to adapt it for cartesian coordinates.
> Any ideas?
> 
> Michael. 		 	   		  
> 
> 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.