Path: news.mathworks.com!not-for-mail
From: "Matt" <mjacobson.removethis@xorantech.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plot Nonorthogonal Coordinate Systems
Date: Wed, 17 Dec 2008 22:10:18 +0000 (UTC)
Organization: Xoran Technologies
Lines: 13
Message-ID: <gibtca$1om$1@fred.mathworks.com>
References: <23836964.1229549272245.JavaMail.jakarta@nitrogen.mathforum.org>
Reply-To: "Matt" <mjacobson.removethis@xorantech.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1229551818 1814 172.30.248.35 (17 Dec 2008 22:10:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 17 Dec 2008 22:10:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:507628

Eric Belcastro <eric@telltree.com> wrote in message <23836964.1229549272245.JavaMail.jakarta@nitrogen.mathforum.org>...
> Hi, I am new to matlab, and have searched around for a good method of achieving this and haven't found it yet, so I thought I would ask for some help.
> 
>      I am working with a hexagonal coordinate system, defined in terms of the basis vectors - (in terms of polar coordinates (magnitude,angle)) - (1,0) and (1,pi/3).  Technically the coordinates have a two-coordinate and a three-coordinate representation, but the three-coordinate representation I am not concerned with here.  I have all of the basic mathematical understanding of the coordinate system that I need - but I don't understand how to represent and plot nonorthogonal coordinate systems in matlab.  All that I really have to do is tilt the y-basic vector of the standard Cartesian model clockwise by 30 degrees, and have the coordinates be defined in terms of these basis vectors - that should be quite easy.  Yet I don't see any standard routines for doing such a thing.
> 
>     My reasons for doing this are to investigate the properties of numbers on this grid via different reflections and rotations, and also to investigate a non-orthogonal representation of complex numbers. Just for fun in other words. ;) I am in between semesters and feel like getting out all of those ideas that I don't have time for when class is in session.
> 
> Thank you in advance for any help.
> Eric Belcastro


Why couldn't you simply convert the data to Cartesian coordinates for the purpose of plotting?