()
--
Thanks in advance,
Matthias Michler
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly
Hello everbody,
sometimes I need an autoscaling when my new data points in a figure have small
values compared to some deleted ones. So I thought ax.autoscale_view() would
be the solution, but it seems to remember deleted data and so doesn't scale
limits like I want. A little program showing
Hello everybody,
I would like to open and close some figures during the mainloop or (if this is
not possible) set figures to some kind of active or visible.
Could anyone help me or give me a hint?
Thanks in advance,
Matthias
Hello darkside,
I set up a little program hoping it offers a solution to your problem.
Matthias
---
from numpy.random import uniform
import pylab
Nt = 20
x,y = uniform(size=(100,Nt+1)),uniform(size=(100,Nt+1))
Hi Stephen,
On Sunday 22 April 2007 23:35, Stephen Boulet wrote:
I wanted to use this code to set the label font in my legends:
from pylab.font_manager import fontManager, FontProperties
...
but I'm getting ImportError: No module named font_manager.
Can someone help me set legend size?
Hi Jan,
I'm not sure about the reason, but your little example runs for me using
several backends (GtkAgg, TkAgg, WxAgg).
I'm using Debian (kernel 2.6) and matplotlib 0.90.0 at revison 3131.
Maybe it could help to add some more 'draw()' commands after plotting and
reseting data - not really
Hi,
a friend gave me the little example I attached.
He uses 'gca().images = []' to delete the images. I'm not sure about memory
usage of that method, but I think deleting images (using clf() or the above
way) is quite important, because otherwise one more image is drawn above the
existing
Hello everybody,
sometimes I need more than the available key events -
e.g. 'enter', 'backspace' or the keys from numeric keypad.
That's why I tried to include more events in the backends (backend_wx.py,
backend_tkagg.py, backend_gtk.py).
I tested it on a debian etch (Python 2.4.4, wxpython
Hi everybody,
I use key_press_event's to handle my program.
Therefore I want to skip the matplotlib usage of some keys e.g. 'f', 'g'
and 'l'.
I didn't find the right method to turn the usage off. Can anybody help me?
Could this method be useful for buttons and sliders from widgets.py, too?
Hi devolopers,
one small remark about the mpl svn. I recognized, that in the
file ./lib/matplotlib/__init__.py the actual revision is:
__revision__ = '$Revision: 3131 $'
and the svn info tells Revision: 3257.
best regards,
Matthias
. in IPython. That's why I thought it should be the revision of
the whole project.
Just a remark - you can forget about it.
best regards,
Matthias
Matthias Michler wrote:
Hi devolopers,
one small remark about the mpl svn. I recognized, that in the
file ./lib/matplotlib/__init__.py
Hello list,
refering to the thread 'activate/deactivate RectangleSelector' of the
developer-mailing-list I thought a bit about the problem because I found it
quite irritating that the RS couldn't be stopped during zooming.
I attached a patch including Martin's example and my proposal to
the events.
Is this a suitable way of disabling the mpl-axes-interaction?
best regards,
Matthias
On Friday 27 April 2007 17:42, Matthias Michler wrote:
Hi everybody,
I use key_press_event's to handle my program.
Therefore I want to skip the matplotlib usage of some keys e.g. 'f', 'g'
and 'l'.
I
Hello darkside,
maybe the following little examples helps you with disconnecting:
from pylab import *
def event_response(event):
print event.name
disconnect(cid)
subplot(111)
cid =
|gtk|tkagg).py might have to be modified to handle this.
(subject: additional key events)
Now my question is: Could a prompt be a useful part of matplotlib?
Best regards and thanks in advance for any comments,
Matthias Michler
On Friday 25 May 2007 17:49, Christopher Barker wrote:
Matthias
Hello everybody,
first of all I want to thank John for his work on the textbox - it really
looks better than mine.
On Tuesday 05 June 2007 19:16, Mark Bakker wrote:
I just saw in the code:
if event.key is None: # simulate backspace
So it works properly,
Mark
In my opinion it would be a
06 June 2007 16:19, John Hunter wrote:
On 6/6/07, Matthias Michler [EMAIL PROTECTED] wrote:
Some time ago I posted a suggestion to that (subject: 'additional key
events'), which may be got lost among the lots of mpl-mails.
I just send the patch once more, because I think it would be helpful
works with lists, but I don't know if this is the
problem exactly.
With the command close, I can close the figure window pressing right mouse
button. It works (at least something works).
Thank you for your help.
2007/6/4, Matthias Michler [EMAIL PROTECTED]:
Hello darkside,
maybe
or a real
feature?
Could it be part of mpl?
Thanks in advance for any comments.
Matthias Michler
On Thursday 03 May 2007 18:22, Matthias Michler wrote:
Hello list,
refering to the thread 'activate/deactivate RectangleSelector' of the
developer-mailing-list I thought a bit about the problem
skills of the textbox .
Could this be helpful / useful for others?
best regards,
Matthias
On Wednesday 06 June 2007 17:25, John Hunter wrote:
On 6/6/07, Matthias Michler [EMAIL PROTECTED] wrote:
By the way: What do you think about the insert a 'l' or 'g' into your
TextBox and get a grid
my patch including these new lines.
best regards,
Matthias
On Tuesday 26 June 2007 16:35, John Hunter wrote:
On 6/26/07, Matthias Michler [EMAIL PROTECTED] wrote:
Hello everybody,
first of all: Sorry for posting to my own thread.
But I really like this new feature and may be the last
values or plots).
I attached this new version.
best regards,
Matthias
On Tuesday 26 June 2007 19:46, Matthias Michler wrote:
Hello John,
Hello all,
I thought once more about the textbox and added some of your (Johns)
features to my class 'InputButton'. Probably my solution isn't the best
Hello darkside,
I tried your example and it works for me (with mpl-svn) using GTKAgg and
doesn't work (like you reported) using TKAgg (Is this a bug?).
Maybe you can switch to GTKAgg?
Otherwise you should report the mpl-version you are using.
-
import
mode.
This new behaviour has the big advance that error-handling during evaluation
of the text is a task for users and not to mpl.
I hope I could explain my idea ...
best regards,
Matthias
On Wednesday 27 June 2007 18:19, Matthias Michler wrote:
Hello everybody,
in my last version I forgot
Hello developers,
I'm sorry for reposting again. I really would like to have this feature in
mpl.
Please let me know if there is anything I can do to change my proposal to make
it match with matplotlib.
thanks in advance and best regards,
Matthias
Hello list,
with the latest version of svn the pylab.hist command doesn't work if I use
align='center'. The error is due to a problem in the ax.bar - function as you
can see in the example below.
Probably width should be an array and not a list if one want to build
width/2..
I'm not sure
Hello list,
the little example below seems to fail, can anybody help me?
I'm on Debian using the release 0.91.2.
best regards and thanks in advance for any hints,
Matthias
---
from matplotlib.ticker import
Hello list,
Hello Thorsten,
On Wednesday 09 January 2008 11:38, Thorsten Kranz wrote:
I have a question concerning reformatting of axis-ticks via the
FuncFormatter-class. In german, it's common to use a comma as separator for
decimal numbers instead of a dot. To realize it in matplotlib, I do
: debug-annoying is attached, but I don't
understand what I'm doing wrong.
Maybe my matplotlibrc is to old to be used with the last improvements,
although I can't see any substantial differences.
Thanks in advance for any further suggestions.
best regards,
Matthias
Cheers,
Mike
Matthias
Hello list,
the little example below leads to an error on my system (output is attached).
I used this some time ago and it worked. Now I'm using the release 0.91.2.
Is there a reason to use rectangular brackets not in mathtext?
(same problem occur with '{' for me.)
best regards and thanks in
... 0.95)?
And if so: Is this the expected behaviour?
best regards,
Matthias
Anyway, I think an option as Matthias implemented would be very handy for
all those users like us here in Germany who might want to have the numbers
formatted with commata.
Greetings,
Thorsten
2008/1/9, Matthias
Hello Ken,
Hello Mike,
Hello all,
On Tuesday 22 January 2008 19:33, Ken McIvor wrote:
On Jan 22, 2008, at 11:00 AM, Matthias Michler wrote:
I was not up to date with my installation and I tried to use the
latest svn
version (trunk) on my Debian etch. I have a problem to build
matplotlib
Hello Chris,
you may try something like
plot([x1], [y1], bo, [x2], [y2], r+)
or you have to iterate through your data.
best regards
Matthias
On Friday 07 March 2008 10:11, Chris Withers wrote:
Hi All,
Apologies if I'm missing anything obvious...
How do I plot lines point-by-point as
Hello,
I'm not sure if there is a nicer way to do what you want and I understand
correctly what you want to do, but as a workaround I would recommand you the
following:
use the mainloop-mode after show and an event to rearch a function, which
includes a raw_input to input text from the shell
save the data to a file and read them every 15 or 20 minutes.
best regards
Matthias
On Tuesday 11 March 2008 19:37, Chris Withers wrote:
Chris Withers wrote:
Matthias Michler wrote:
plot([x1], [y1], bo, [x2], [y2], r+)
This didn't work :-S
- the first time I call show(), execution
Hello Michael,
for me there seems to be no problem. I'm using maplotlib version 0.91.2 (you
can get you version using:
import matplotlib
print matplotlib.__version__
I'm not sure if it is due to the version, but if it is possible you may want
to update to 0.91.2.
best regards
Matthias
On
Hello Chris,
I'm not sure if there was an example in matplotlib, but the following works
for me:
-
from pylab import *
figure()
subplot(111)
subplots_adjust(right=0.7)
plot(arange(10), label='linear')
plot(arange(10)**2,
Hello Chris,
you can try xlabel of an empty string:
xlabel(' ')
regards
Matthias
On Monday 17 March 2008 17:11, Chris Withers wrote:
Hi All,
I'm using plot_date to plot some dates, but this sets an xlabel, and I
don't want the plot to have an xlabel.
How do I remove it?
I tried:
no default behaviour covering all needs
(outside the axes and best located), because for example the legend width is
influenced by the length of the labels.
much effort and best regards
Matthias
On Monday 17 March 2008 17:13, Chris Withers wrote:
Hi Matthias,
Matthias Michler wrote:
I'm
On Tuesday 18 March 2008 10:50, Chris Withers wrote:
Eric Firing wrote:
It sounds like what you want it the pyplot figlegend command:
def figlegend(handles, labels, loc, **kwargs):
This feels like what I should be wanting except:
- why does it need explicit parameters? why can't it pick
Hello Chris,
for only horizontal lines you can use 'ax.yaxis.grid' like:
---
from pylab import *
figure()
ax = axes()
ax.set_yticks([0.0,0.5,1.0], minor=False)
ax.set_yticks(list(linspace(0.0, 1.0, 11)), minor=True)
ax.yaxis.grid(which='minor')
Hello Chris,
in examples/zorder_demo.py I found:
---
The default drawing order for axes is patches, lines, text. This
order is determined by the zorder attribute. The following defaults
are set
Artist
Hello Amit,
On Sunday 23 March 2008 09:54, Amit Finkler wrote:
Hi everyone,
I am using matplotlib to dynamically plot a graph with both my x and y
points taken from a measurement device. That is to say, in each
iteration of my while loop I'm reading two variables which I then want
to plot
On Wednesday 26 March 2008 19:39, Chris Withers wrote:
Matthias Michler wrote:
My x-axis is time, and as new points are plotted, even though I'm
following the above recipe pretty closely, the x-tick spacing isn't
getting sorted out, so I end up with just a jumble as the tick labels
Hello Chris,
On Thursday 27 March 2008 12:22, Chris Withers wrote:
Matthias Michler wrote:
the above script leads
to a different behaviour on my system.
What is that behaviour and what version of matplotlib are you using?
I think it is the expected behaviour. The number of xtick
Hello Chris,
Hello list,
On Thursday 27 March 2008 18:26, Chris Withers wrote:
Matthias Michler wrote:
I'm not sure that I understand you correctly. The code I refering is the
one which I attached some mails ago. The following works for me:
Ah, okay, to get the problem I was having, change
On Friday 28 March 2008 13:57, Chris Withers wrote:
Matthias Michler wrote:
I'm not sure it is the easiest way, but it works for me:
for label in ax.xaxis.get_majorticklabels():
label.set_rotation(+90)
Yes, that's what I was using, just wondered if there was a better way
Hello Adrian,
I'm not sure I understood well, but if you want a histogram with logarithmic
yscale, you may want to use something like:
import pylab
pylab.subplot(111, yscale='log')
pylab.histogram(some_nice_data)
pylab.show()
regrads Matthias
On Monday 14 April 2008 22:28:49 Adrian
Hello Benjamin,
I think you should use an other kind of an axes. Instead of pylba.subplot(111)
(or fig.add_subplot(111)), you could use pylab.axes([0.0, 0.0, 1.0, 1.0])
with the values (left, bottom, width, height) to avoid the gray border.
regards Matthias
On Wednesday 09 April 2008 20:37:08
Hi John,
On Wednesday 23 April 2008 12:28:11 John Reid wrote:
I'm on Windows with python 2.5. How do I find the version of matplotlib?
I think it is fairly recent (within last 6 months anyhow).
import matplotlib
print matplotlib.__version__
Shouldn't an error be raised?
On my Kubuntu 7.10
Hello John,
On Wednesday 23 April 2008 15:24:30 John Reid wrote:
So I have:
In [2]: import matplotlib; print matplotlib.__version__
0.90.1
Why does pylab not have __version__?
I'm not an expert, but the pylab.__doc__ states
This is a procedural interface to the matplotlib
[sorry for so many mails]
On Wednesday 23 April 2008 15:54:42 Matthias Michler wrote:
Hello John,
On Wednesday 23 April 2008 15:24:30 John Reid wrote:
So I have:
In [2]: import matplotlib; print matplotlib.__version__
0.90.1
I just found a PC with Debian etch and matplotlib 0.90.1
Hello Glen,
I'm not sure, but maybe it would help to use
ax = subplot(111)
and
ax.plot(arange(it))
instead of plot(arange(it))
or to call a second draw() after plotting.
regards Matthias
On Wednesday 23 April 2008 20:49:46 Glen W. Mabey wrote:
Hello,
I'm using today's svn source and I'm
Hello Glenn
Do you refer to a special example?
Maybe the following helps you.
--
from pylab import *
ion()
ax = subplot(111)
# ... some plotting
ax.relim() # reset intern limits of the current axes
Hi Sam,
On Monday 28 April 2008 05:09:36 samwo wrote:
Hi.
I run these codes in ipython command line interface.
from pylab import *
subplot(211)
plot([1,2,3],[1,2,3])
There is a small typo (or a wrong method):
set(gca(), xtickslabel = [])
needs to be
setp(gca(), xticklabels = [])
and
Hello Bryan,
On Tuesday 06 May 2008 20:07:58 Bryan Fodness wrote:
I would like to be able to draw a triangle on the graph outside the axes
and plot area. I have used fill before, but that was in the plot area.
Can someone push me in the right direction?
Would it be helpful to have a axes
Hello list,
the nice example of sliders and buttons from the matplotlib screenshots
doesn't work anymore (at least) for me under mpl 0.91.2 and latest svn.
In http://matplotlib.sourceforge.net/screenshots/slider_demo.py
the replacement hovercolor=0.975
-
Hello all,
first of all I want to thank the developers for the plotfile-function.
Nevertheless I would like to report a bug of the function and propose addional
functionality. I added a patch including the following changes:
- circumvent the NameError in the case of len(cols)==1 (N is not
Hello list,
On Wednesday 07 May 2008 19:08:23 Michael Droettboom wrote:
Matthias Michler wrote:
The second problem arises only with latest svn.
At the end of the mail there's the Traceback, which arises after clicking
the radiobutton during running examples/widgets/radio_buttons.py
Hello list,
It may not be very important, but I collected some small bugs while exploring
the examples and for some of them I got little patches.
- for me their occur two typos in matplotlib/text.py (see the attached
text.patch, please)
- some examples don't work for me (see attached
Hi Jon,
On Thursday 15 May 2008 03:17:29 Jon Choy wrote:
I maybe asking a dumb question, forgive me I'm a novice. I try to add
a ylabel and the left portion of the signal name is cut off when it is
plotted. I can't seem to find the option for displaying the whole
signal. Or do I need to
('testplot.png')
On Thu, May 15, 2008 at 2:35 AM, Matthias Michler wrote:
Hi Jon,
On Thursday 15 May 2008 03:17:29 Jon Choy wrote:
I maybe asking a dumb question, forgive me I'm a novice. I try to add
a ylabel and the left portion of the signal name is cut off when it is
plotted. I
On Wednesday 21 May 2008 13:59:31 Johan Mazel wrote:
Hi
I'm displaying 4 graphs in one figure.
But the 4 graphs are really to much near each other and the center of the
figure.
Is there anyway to change this, and move them nearer to the edges of the
figure ?
Thanks
Johan Mazel
Hi Johan,
Hello,
On Wednesday 21 May 2008 17:57:28 PaterMaximus wrote:
I want to make one scatter plot and use the same scales on another. I think
I seen getting the Axes from the first scatter plot using v=axis() and then
setting them on second with axis(v) but I can not get to work. Any help
Hi Matthieu,
I'm not sure if somebody else already answered to your question and I don't
know the best way to achieve what you need, but I suggest the following
work-around:
scatter(x, x**2.4, marker='s', color='r', s=25, label=_)
# with no label
plot([0], [0], ls='', marker='s', color='r',
Hi Margherita,
On Wednesday 04 June 2008 18:01:47 Margherita Vittone wiersma wrote:
Hi all,
i have a plot on which the x axix has timestamps info; i would like to
control the size of the edge or border (not sure whta is the proper word)
so the there is enough space between the real plot and
Hello list,
I know it is not recommended to use matplotlib for 3d plotting, but for a
while simple plots worked fine for me. This is not the case with actual svn
version and therefore my question is: Would it break at lost or cost much
effort to make the 3d-plot-examples of the Cookbook work?
Hello John,
I'm not sure there is a better way, but the following works for me:
--
from pylab import *
fig = figure()
# adding some subplots / axes instances
subplot(121)
x = linspace(-0.5, 1.5, 10)
plot(x,
Hi lubos,
you can avoid (auto-)rescaling in matplotlib:
---
import pylab
ax = pylab.subplot(111, autoscale_on=False)
# or for an already existing axes instance 'ax' : ax.set_autoscale_on(False)
Hello Hussein,
maybe the following example helps you. It uses the module 'time' to wait for
some seconds.
regards Matthias
--- test.dat: --
#time x_coordinatey_coordinate
0.1 1 1
0.2
Hello list,
rehashing an old script I recognized I essential difference between mpl 0.91.4
and mpl-svn 0.98.3 $Revision: 6203 $.
In 0.91.4 ax.get_xlim() return a tuple with the current xlimits.
In 0.98.3 ax.get_xlim() return a numpy array with the current xlimits, which
is a reference to the
Hello list,
I observe a small bug in slider_demo.py, which lives in the svn
folder /examples/widgets and can be accessed via
http://matplotlib.sourceforge.net/_static/plot_directive/mpl_examples/widgets/slider_demo.py
.
The hovercolor for grey needs to be a string instead of a float. I
Hello John and others,
my favorite solution is:
* axes param: specific for a given axes in figure; interface would
be something like
ax.auto_toolbar_keys(False)
Which would be really helpful in case an axes belongs to a button
(slider, ...), where logarithmic scaling or a grid are not of
On Monday 22 December 2008 14:24:06 Franta wrote:
Hi,
when I have a Text instance, how can I get the dimensions of it?
Hello,
I think with dimensions you mean the width height and/or the corresponding
corners of the box surrounding the text (its bounding box). I attached an
example, which
Hello Paul Anton,
On Tuesday 24 February 2009 09:44:38 Paul Anton Letnes wrote:
Is it possible to completely eliminate the
windows popping up? Though not very important, it is still annoying
You may want to choose another backend. That is e.g. agg backend, that
doesn't use a X-window.
On Thursday 26 February 2009 20:52:17 Christopher Brown wrote:
Hi,
If I have a figure:
h = pp.figure(num=14)
What is the best way to check to see if Figure 14 exists? I'm writing a
function that adds plots to a figure window. I want the function to
check if the figure exists, and if so,
Hi Blake,
the following addition should do what you want:
self.ax = self.fig.add_subplot(1,1,1, autoscale_on=False, xlim=(0, 100),
ylim=(0, 100))
or by hand after creation of the axes
self.ax.set_autoscale_on(False)
xlim(...)# or self.ax.set_xlim(...)
ylim(...)
That is
Hello list,
in the small example below with xscale and yscale logarithmic I'm not able to
set the xlabel inside the axes initialisation. The error output is attached.
It doesn't happen if I use the pylab command 'xlabel' or set one of the
scalings to linear.
Is this a bug or do I miss
Hi ,
The example below seems to do what you want, but I'm not sure if this is the
favourite way to do it.
Please notice: the if-statement might not be correct in any case of
application.
regards Matthias
Hello,
I'm not familiar with the draw_artist functionality, but for me there seems
to to be the following replacement needed (due to a typo):
self.ax.draw_artist(plt.contourf) - self.ax.draw_artist(self.contour)
because otherwise you are trying to draw a matplotlib function, which seems to
Hello ,
i'm not sure if your problem was resolved in the mean time. If this is not the
case the following may help:
plt.axes(axisbg=white, frameon = True)
- plt.axes([0,0,1,1], axisbg=white, frameon = True)
where the first list descibes
[left, bottom, width, height] in normalized (0, 1)
Hello Johann,
is the problem you are reporting the one I observe in the attached picture?
Namely some vertical and horizontal lines are missing when using
yscale=log. More precisely everything below y=1 seems to be missing.
The picture was generated with the code below and
'
__revision__ : '$Revision: 6887 $'
best regards Matthias
On Tuesday 03 March 2009 17:35:49 Matthias Michler wrote:
Hello list,
in the small example below with xscale and yscale logarithmic I'm not able
to set the xlabel inside the axes initialisation. The error output is
attached. It doesn't happen
Hi Bala,
On Tuesday 31 March 2009 17:00:59 Bala subramanian wrote:
Friends,
1) I want to make a plot of multiple lines. I want to make something like
./multiplot.py 1.dat 2.dat 3.dat .. n.dat
All files contain two columns and are of same length. plotfile() and load()
do not take list
Hi Bala,
I added a small example showing up your matrix in order to have a running
example, where you can specify your needs.
In the program contourf could be replaced by contour or imshow - see help /
docu / examples on the web
The colormap can be specified with the kwarg cmap : e.g.
need bit higher range like 1 , 1 to 1.5, 1.5-2.0, 2-2.5, 2.5.
Also i need to set this range dynamically. Kindly write me how i can do
this.
Thanks in advance,
Bala
On Thu, Apr 9, 2009 at 9:08 AM, Matthias Michler
matthiasmich...@gmx.netwrote:
Hi Bala,
I added a small example showing up
Hi Pau,
On Friday 10 April 2009 17:03:20 Pau wrote:
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg03134
.html
I'd like to understand the syntax, though...
On the linked page I find:
ax = axes([0.1, 0.3, 0.8, 0.6])
and
The position rectangles are [left, bottom, width,
Hello Eric,
Hello list,
On Tuesday 14 April 2009 20:39:06 Eric Firing wrote:
Matthias Michler wrote:
[...]
Second question: Could it be useful to add two kwargs 'over_color'
and 'under_color' to contourf in order to allow specification of a
extended ListedColormap by kwarg 'colors
Hi Andrew,
if I understand correctly set_clip_path is what you want.
The usage was discussed in the following threads, where John Hunter also
proposed the example code added below.
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg10155.html
Hi Gökhan,
I recommend you to use matplotlib.widgets.RectangleSelector instead of the
zoom functionality to select the data (An example can be found at
http://matplotlib.sourceforge.net/examples/widgets/rectangle_selector.html ).
This will return you the x and y-coordinate of button press and
)
toggle_selector.RS = RectangleSelector(ax, onselect, drawtype='box')
connect('key_press_event', toggle_selector)
show()
Gökhan
On Fri, Apr 17, 2009 at 2:31 AM, Matthias Michler
matthiasmich...@gmx.netwrote:
Hi Gökhan,
I recommend you to use matplotlib.widgets.RectangleSelector instead
)
Furthermore I'm not a Python expert and therefore I'm not the guy to ask for
programing in Pythonic fashion. Maybe some else can give a comment?
best regards Matthias
Again thanks for your help.
Gökhan
On Mon, Apr 20, 2009 at 4:09 AM, Matthias Michler
matthiasmich...@gmx.netwrote:
Hi
Hi Enrico,
I'm afraid that this functionality is missing in matplotlib, but I'm not an
expert so there is still hope that this can be easily achieved.
A work around, that comes to my mind is resetting the label values using an
idea from another mail on this list
( thetagrids( range(0,360,45),
On Tue, Apr 21, 2009 at 3:21 AM, Matthias Michler
matthiasmich...@gmx.netwrote:
Hi Gökhan,
Hi list,
Hi experts on masked arrays,
I run the attached script (copied from your last two emails) and I can
use x_new, y_new after closing the figures (where x_new and y_new are the
values
Hi Jon,
the dashed associated with each tick are actually line instances and therefore
hold information about the used marker, markersize, color, ...
For example you could do the following:
import matplotlib.pyplot as plt
ax = plt.gca() # get the current axes
for l in ax.get_xticklines() +
Hello Eric, Hello list,
a year ago I also encountered the problem of one file - one figure of the
plotfile function. I would like to propose an addional functionality of using
one figure and several files in plotfile, because sometimes I don't want to
read data myself. I added a patch
Hello Erik,
I can reproduce your problem (mpl 0.98.6svn) with the following little
example:
import matplotlib.pyplot as plt
ax = plt.axes()
ax.set_xlim((0.0, .))
print ax.xaxis.get_majorticklocs()
plt.show()
where the last tick is out of the xlimits. Could this be the case for your
Hello,
could you please provide a stand-alone example of what is failing and what
version/ backend you are using?
for me the following works (with mpl-0.98.6svn and backend 'GTKAgg'):
text(0.25, 0.75, r$M_\theta$)
regards Matthias
PS: You can access the used backend and the matplotlib
Hello list,
I'm not sure that following problem also occurs for Sebastian, but if I use
PS-backend in the below script I get the attached output, where the upper
part of the b is somehow hidden (matplotlib-version 0.98.6svn).
Is this a problem of matplotlib or did I miss something in the
Hi Jae-Joon,
I updated to svn-revision 7099 and the problem (hidden part of b) still
exists. Do you have any idea what I'm doing wrong?
Thanks in advance for any hints.
best regards Matthias
On Tuesday 12 May 2009 20:46:06 Jae-Joon Lee wrote:
On Tue, May 12, 2009 at 5:04 AM, Matthias
1 - 100 of 239 matches
Mail list logo