I have functions which plot multiple items to an axis. Often, I have
the function explicitly turn interactive mode off and then I turn it
back on to what it was before my function was called. At the end of
my function, I call draw_if_interactive().
Suppose the user had interactive mode on prior
I was looking at rc_params() and saw
if not os.path.exists(fname):
message = 'could not find rc file; returning defaults'
ret = dict([ (key, tup[0]) for key, tup in defaultParams.items()])
warnings.warn(message)
return ret
Is this correct? It seems that it re
Hi all,
I wasn't sure if this should be sent to matplotlib or ipython. I'm
got a number of questions, and any help would be greatly appreciated.
The docstring for draw_if_interactive says:
"""This should be overriden in a windowing environment if drawing
should be done in interactive python mode
On Dec 14, 2007 11:28 AM, Jeff Whitaker <[EMAIL PROTECTED]> wrote:
> Mike: Postscript doesn't support alpha transparency. It might work
> with PDF though.
pstricks (tex) provides transparency...
http://tug.org/PSTricks/main.cgi?file=Examples/Colors/colors#transparency
http://tug.org/PSTricks/ma
I am plotting multiple scatter plots to the same axis. For each
scatter plot, all points have the same shape and color. I would like
the legend to display the shape and color of the data points in each
collection (rather than displaying a rectangle for the color). The
result should be similar to
Is it possible to have nested subplots?
I would like to have 2 rowswith the top row having two columns and
the bottom row having one column.
For the bottom plot, I'd like to be able to choose between the following:
1) The size of the bottom plot expands to fill the entire horizontal space.
Doh! Sorry, I adjusted the wrong space.
On Nov 27, 2007 11:56 AM, Tom Johnson <[EMAIL PROTECTED]> wrote:
> On Nov 27, 2007 11:48 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> > Use the subplots_adjust paramters, eg
> >
> > fig.subplots_adjust(hspace=0)
&
On Nov 27, 2007 11:48 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> Use the subplots_adjust paramters, eg
>
> fig.subplots_adjust(hspace=0)
>
This wasn't working for me...
from pylab import *
f = gcf()
f.subplots_adjust(hspace=0)
f.add_subplot(121)
f.add_subplot(122)
show()
Adjusting the space af
I'd like to make the separation distance between two subplots to be
much smaller. How can I achieve this?
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.co
I would like to plot a set of lines where the color of each line is
parametrized. Then I want to add a colorbar to the plot.
For example, suppose I plot y=x+b for various values of b. For each
line, I would like to set the color to a particular value of b. When
plotting, all b values are normal
>histogram of f(x) is plotted horizontally (on the right) sharing
> the y-axis of axis 1
Typo:
histogram of f(x) is plotted horizontally (on the LEFT) sharing the
y-axis of axis 1
-
This SF.net email is sponsored by:
Is it possible to have a figure with two-plots such that
f(x) is plotted against x onaxis 1 (on the right)
histogram of f(x) is plotted horizontally (on the right) sharing
the y-axis of axis 1
(sorry, this is proportional font, ascii art)
f(x)
On 9/27/07, Tom Johnson <[EMAIL PROTECTED]> wrote:
> However, it will be a little while before I can provide a status
> updateI have a presentation very soon and do not have the time to
> regenerate all my images so that the background matches my
> presentation background.
On 9/27/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> On Thursday 27 September 2007 01:28:46 am Tom Johnson wrote:
> > On 9/26/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> > > I used your script to create the eps file, and created the attached
> > > postscri
How can I keep a 1:1 aspect ratio after adding a colorbar?
ratio='exact' seems to include the colorbar in the calculations. For
example, if I have a circle and color itI want it to still look like a
circle (rather than an ellipse) after adding the colorbar.
~t
---
Any comments on this? The behavior is, at best, inconsistent. At worst,
the current behavior is incorrect, as it is not possible to have a white
facecolor when using usetex/xpdf.
On 9/23/07, Tom Johnson <[EMAIL PROTECTED]> wrote:
>
> On 9/23/07, Tom Johnson <[EMAIL PR
On 9/23/07, Tom Johnson <[EMAIL PROTECTED]> wrote:
>
>
> Also, it seems like there needs to be an extra keyword or option. Suppose
> someone wanted a white facecolor in the (usetex=True) EPS file. It doesn't
> seem like this is currently possible. It would
Hello,
When using usetex=True and
savefig(file, facecolor='w', edgecolor='w')
The behavior of the generated EPS file is more like:
facecolor=None
edgecolor='w'
That is, the image's facecolor is tranparent...taking on the background
color of the latex document---while the edgecolor is
18 matches
Mail list logo