Re: Rotating a grid
Shahar Shani-Kadmiel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
I meant ccw rotation of course… damn autocorrect! On Nov 23, 2013, at 8:54 PM, Shahar Shani-Kadmiel <[email protected]> wrote: > 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]