<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225</link>
    <title>MATLAB Central Newsreader - Plot Nonorthogonal Coordinate Systems</title>
    <description>Feed for thread: Plot Nonorthogonal Coordinate Systems</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2010 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 17 Dec 2008 21:27:21 -0500</pubDate>
      <title>Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617678</link>
      <author>Eric Belcastro</author>
      <description>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.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;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.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;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.&lt;br&gt;
&lt;br&gt;
Thank you in advance for any help.&lt;br&gt;
Eric Belcastro</description>
    </item>
    <item>
      <pubDate>Wed, 17 Dec 2008 22:10:18 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617688</link>
      <author>Matt </author>
      <description>Eric Belcastro &amp;lt;eric@telltree.com&amp;gt; wrote in message &amp;lt;23836964.1229549272245.JavaMail.jakarta@nitrogen.mathforum.org&amp;gt;...&lt;br&gt;
&amp;gt; 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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;      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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;     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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thank you in advance for any help.&lt;br&gt;
&amp;gt; Eric Belcastro&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Why couldn't you simply convert the data to Cartesian coordinates for the purpose of plotting?&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 18 Dec 2008 05:04:39 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617726</link>
      <author>Eric Belcastro</author>
      <description>Matt: &quot;Why couldn't you simply convert the data to Cartesian coordinates for the purpose of plotting?&quot;&lt;br&gt;
&lt;br&gt;
That is a very reasonable response - and the answer is that I can, and, in fact, the conversions are quite easy to make.  The reason that this isn't acceptable to me is that the entire existence of the coordinate system is allow for certain relationships to arise out of the representation, such that coordinates on the grid are represented by integers, and there transformations and corresponding eutrigonometric (eutrigon - triangle with 60 degrees, eutrigonometry utilizes the ratios of the sides of a 60 degree triangle instead of a right triangle, yes I just made the word up) relationships become self-evident in such a coordinate system.  When we are young we learn not to put triangle pegs in square holes. So I am looking for the triangle hole, the square hole will not suffice for my aims, it will only obscure, not clarify.</description>
    </item>
    <item>
      <pubDate>Thu, 18 Dec 2008 13:50:20 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617808</link>
      <author>Jackie Larsen</author>
      <description>Eric Belcastro &amp;lt;eric@telltree.com&amp;gt; wrote in message &amp;lt;24279765.1229576710076.JavaMail.jakarta@nitrogen.mathforum.org&amp;gt;...&lt;br&gt;
&amp;gt; Matt: &quot;Why couldn't you simply convert the data to Cartesian coordinates for the purpose of plotting?&quot;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; That is a very reasonable response - and the answer is that I can, and, in fact, the conversions are quite easy to make.  The reason that this isn't acceptable to me is that the entire existence of the coordinate system is allow for certain relationships to arise out of the representation, such that coordinates on the grid are represented by integers, and there transformations and corresponding eutrigonometric (eutrigon - triangle with 60 degrees, eutrigonometry utilizes the ratios of the sides of a 60 degree triangle instead of a right triangle, yes I just made the word up) relationships become self-evident in such a coordinate system.  When we are young we learn not to put triangle pegs in square holes. So I am looking for the triangle hole, the square hole will not suffice for my aims, it will only obscure, not clarify.&lt;br&gt;
&lt;br&gt;
Well since you only need the &quot;convenrsion&quot; of the coordinates when doing the plotting, the solutions is simple to write your own plot function, which takes your coordinates in the special basis, and converts them prior to plotting. &lt;br&gt;
&lt;br&gt;
That way you keep your convention.</description>
    </item>
    <item>
      <pubDate>Thu, 18 Dec 2008 23:25:45 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617938</link>
      <author>Eric Belcastro</author>
      <description>Jackie:Well since you only need the &quot;convenrsion&quot; of the coordinates when doing the plotting, the solutions is simple to write your own plot function, which takes your coordinates in the special basis, and converts them prior to plotting.&lt;br&gt;
&lt;br&gt;
Yes, most certainly - but what I need is a way to &amp;gt; visualize &amp;lt; the results of various computations within the triangular grid, thus I need the triangular tick mark grid that would be naturally created by a nonorthogonal coordinate system.  Without that visual aid, the numbers, so natural on a triangular grid, are just a bunch of dots on a page in the cartesian system, regardless of the accuracy of their placement.  without this visual aid, nothing has been achieved by the visual representation.</description>
    </item>
    <item>
      <pubDate>Fri, 19 Dec 2008 08:22:04 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617979</link>
      <author>Johan Carlson</author>
      <description>Eric Belcastro &amp;lt;eric@telltree.com&amp;gt; wrote in message &amp;lt;11912819.1229642775710.JavaMail.jakarta@nitrogen.mathforum.org&amp;gt;...&lt;br&gt;
&amp;gt; Jackie:Well since you only need the &quot;convenrsion&quot; of the coordinates when doing the plotting, the solutions is simple to write your own plot function, which takes your coordinates in the special basis, and converts them prior to plotting.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Yes, most certainly - but what I need is a way to &amp;gt; visualize &amp;lt; the results of various computations within the triangular grid, thus I need the triangular tick mark grid that would be naturally created by a nonorthogonal coordinate system.  Without that visual aid, the numbers, so natural on a triangular grid, are just a bunch of dots on a page in the cartesian system, regardless of the accuracy of their placement.  without this visual aid, nothing has been achieved by the visual representation.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
So, you're saying that you need the complete axes with tick labels and maybe also a grid? Would you also like to be able to find the coordinates of the points (in the non-orthogonal system) for example by moving the mouse over the plot?&lt;br&gt;
&lt;br&gt;
The only solution I see is to draw your own coordinate system and then turn off the old one. It's a bit of coding to do, but if you have the representation of the non-orthogonal axes in the cartesian system, it should be possible.&lt;br&gt;
&lt;br&gt;
/JC</description>
    </item>
    <item>
      <pubDate>Fri, 19 Dec 2008 09:28:03 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#617983</link>
      <author>Lars Barring</author>
      <description>Johan Carlson wrote in message &amp;lt;gifljc$noo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; The only solution I see is to draw your own coordinate system and then turn off the &lt;br&gt;
&amp;gt; old one. It's a bit of coding to do, but if you have the representation of the &lt;br&gt;
&amp;gt; non-orthogonal axes in the cartesian system, it should be possible.&lt;br&gt;
&lt;br&gt;
Would this possibly be of help as a starting point:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/2299&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/2299&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
best,&lt;br&gt;
Lars</description>
    </item>
    <item>
      <pubDate>Fri, 19 Dec 2008 17:01:59 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#618073</link>
      <author>Eric Belcastro</author>
      <description>Johan Carlson:The only solution I see is to draw your own coordinate system and then turn off the old one. It's a bit of coding to do, but if you have the representation of the non-orthogonal axes in the cartesian system, it should be possible.&lt;br&gt;
&lt;br&gt;
I see what you mean, and it's a good idea. It will be kind of annoying, but once I code it once, it will be there for me.  I will dig in more to study some of the graphical abilities of matlab and see what I can do.  The drawing of the coordinate system will be easy, but adding other features I have in mind will take a bit of time.&lt;br&gt;
&lt;br&gt;
Thank you everyone for the recommendations and responses.</description>
    </item>
    <item>
      <pubDate>Fri, 19 Dec 2008 17:03:21 -0500</pubDate>
      <title>Re: Plot Nonorthogonal Coordinate Systems</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241225#618074</link>
      <author>Eric Belcastro</author>
      <description>Lars Barring:Would this possibly be of help as a starting point:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/2299&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/2299&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Actually, it just may.  I will have to modify it a bit, but it may provide a base to work off of.  Thanks for pointing it out. :)&lt;br&gt;
&lt;br&gt;
-Eric</description>
    </item>
  </channel>
</rss>
