On Oct 7, 2010, at 11:54 AM, Waléria Antunes David wrote:
> Hi,
>
> I'm asking how to have only the vertical grid lines.?
> And I'm trying to increase the spacing in the x direction, I used the
> 'ax.set_xscale (' log ')', but the points were even more confused.
> Do you saw my image that sent yestarday?
>
> Thanks,
> Waleria
I have to agree with Ben that your description is a little confusing. Looking
at the plot you posted, I'm not sure what part of the plot you're interested in
reproducing. I don't see any "vertical lines"; do you mean the vertical layout
of the plot itself? If that's the case you can set the figure size such that it
is taller than it is wide. For example, before creating your plot you can call:
>>> import matplotlib.pyplot as plt
>>> plt.figure(figsize=(6, 8))
But from your original question, it sounds like you want the opposite, since a
wider plot would stretch the x-distance between data points (logspacing
stretches distances for low values, but maybe you want to stretch the distance
for all values?). In this case you could just increase the width of the figure;
for example:
>>> plt.figure(figsize=(12, 6))
This may not fit on your screen, though. If you're working interactively (with
plt.show instead of plt.savefig) you can just resize the window to your liking.
-T
> On Wed, Oct 6, 2010 at 5:10 PM, Benjamin Root <ben.r...@ou.edu> wrote:
>
>
> On Wed, Oct 6, 2010 at 2:36 PM, Waléria Antunes David
> <waleriantu...@gmail.com> wrote:
> Benjamin,
>
> I used the 'ax.set_xscale (' log ')', but the points were even more confused.
> What I need is to increase from 0.0 to 0.2 points, 0.2 to 0.4 ... increase
> the size of the graph. However I do not know if the chart is well visualized
> on a monitor 20''.?
>
>
> Are you trying to increase the spacing in the x direction or the y direction?
> Log scaling is a standard trick to achieve this effect.
>
> And how do I let my chart like this:
> http://www.supernova.lbl.gov/PDFs/SCP2003SNeCMBClust.pdf
> This graph format with vertical line on, something like that.
>
>
> Are you asking how to add a vertical line to your graph, or how to have only
> the vertical grid lines?
>
> Ben Root
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb_______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users