<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244512</link>
    <title>MATLAB Central Newsreader - customizing scatter plots</title>
    <description>Feed for thread: customizing scatter plots</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by 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>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sat, 14 Feb 2009 21:12:58 -0500</pubDate>
      <title>customizing scatter plots</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/244512#628306</link>
      <author>perfreem@gmail.com</author>
      <description>hello,&lt;br&gt;
i have a few questions about plotting scatter plots and changing&lt;br&gt;
their&lt;br&gt;
axes.&lt;br&gt;
1] if i have a simple scatter plot, like&lt;br&gt;
a = [0:.01:10];&lt;br&gt;
b = a.*rand(1,length(a));&lt;br&gt;
scatter(a,b);&lt;br&gt;
set(gca, 'Box', 'off', 'LineWidth', 1);&lt;br&gt;
set(gca, 'TickDir', 'out');&lt;br&gt;
how can i make it so the two axes do not cross at 0? with the above&lt;br&gt;
they extend past each other. how can i prevent the two ticks from&lt;br&gt;
coming out just at the (0, 0) point?&lt;br&gt;
&lt;br&gt;
2] is there a way to add a box plot for the marginals (a and b) for&lt;br&gt;
this plot on the sides? like scatterhist(a,b) except showing box&lt;br&gt;
plots&lt;br&gt;
rather than the histogram?&lt;br&gt;
&lt;br&gt;
3] is there a way in matlab to make the x and y axes separate from&lt;br&gt;
each other, like Tufte axes? for example, see:&lt;br&gt;
&lt;a href=&quot;http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=81&quot;&gt;http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=81&lt;/a&gt;&lt;br&gt;
thanks you for your help, i appreciate it!</description>
    </item>
  </channel>
</rss>

