Gökhan SEVER-2 wrote:
>
> Oh these busy chemical compound plots :) Are those results of gas
> chromatography analysis?
>
> Something like below produces a nice fully plotted output here. Could you
> give it a try?
>
> import matplotlib.pyplot as plt
> plt.plot(range(100))
> locs, labels = plt.
Eric,
Thank you, thank you, thank you. This not only fixes the problem I
reported with with
FixedLocator(..) but also another one where I was using MultipleLocator(..)
and getting
the same problem issue with dropping first and last contours. The later
isn't as easy
to work-around but your chan
On Tue, Mar 16, 2010 at 4:37 PM, Josh Hemann wrote:
>
> I have an issue with showing more than 81 tick marks on an X axis and I am
> trying to determine a way around it. Background... I am plotting vectors in
> which each element represents a different variable and I really do want to
> see the l
I have an issue with showing more than 81 tick marks on an X axis and I am
trying to determine a way around it. Background... I am plotting vectors in
which each element represents a different variable and I really do want to
see the labels associated with each element. The vectors may be only 8
e
For the Windows machine, if you installed with the superpack, you
should find an deinstaller in the Python directory called
"Removematplotlib.exe", I *guess* it only removes in fact the
matplotlib package. You can also safely rename (or delete) the old
matplotlib directory and the mpl_toolkits dir
Dear Michael,
thanks for your input. So far, though, no luck.
I have deleted "SimHei" in matplotlibrc, and I can then continue
generating CJK characters. The png is generated, the eps is not. Thus,
no change. The error output is also the same:
RuntimeError: Face has no glyph names
WARNING: F
The font you are using (SimHei) does not have any glyph names -- these
are used in the Postscript backend to refer to glyphs outside of the
ASCII range. More specifically, it looks like it has at least one
invalid glyph name (glyph names can only contain ASCII characters) --
loading it in Font
Hello everybody,
I have a final problem with my graph. As a last step I produce an *.eps
file that I use in conjunction with LaTeX.
Here is the last part of my code:
# plt.title('Title')
xlab = plt.xlabel(u'输入 1')
#xlab.set_position((0.2, 0.1))
ylab = plt.ylabel(u'输入 2')
plt.grid(True)
plt.su
Thanks a lot, that seems to work!
Alex
On Tue, Mar 16, 2010 at 18:54, Ben Axelrod wrote:
> There is an uncommented, and therefore undocumented function:
>
> axes3d.view_init(elev, azim)
>
> that you can use to rotate the axes. If you have not already, I suggest you
> use the current SVN versi
There is an uncommented, and therefore undocumented function:
axes3d.view_init(elev, azim)
that you can use to rotate the axes. If you have not already, I suggest you
use the current SVN version of MPL instead of the 0.99.1 version. Mplot3d has
some more features in the trunk, but it is still
Samuel Teixeira Santos wrote:
> I fix it.
>
> It was a dumb error
>
> I using '\' on windows
> and on ubuntu-linux I must use '/'...
note that '\' works in Windows for the most part. Or, better yet, use
os.path.join() and friends.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency
I fix it.
It was a dumb error
I using '\' on windows
and on ubuntu-linux I must use '/'...
sorry...
and thanks
2010/3/16 Michael Droettboom
> Can you please post the entire traceback?
>
> Mike
>
> Samuel Teixeira Santos wrote:
>
>> Hi folks
>>
>> I'm using ubuntu 8.04 lts and matplotlib 0.91
Hi,
I have successfully created a 3D scatter plot with mplot3d, but how
can I rotate the plot around e.g. the z-axis?
I do not want to use the user interface but I would like to use a
command to do that. But I could not find good documentation anywhere
and the commands attributed to the Axes3D al
On Tue, Mar 16, 2010 at 12:10 PM, PaterMaximus
wrote:
> Another way would be to use a font with a dark edge and light interior (or
> vice
> versa) but I know of know such font for matplotlib.
>
FYI, the svn version of matplotlib supports this.
http://matplotlib.sourceforge.net/trunk-docs/exampl
Can you please post the entire traceback?
Mike
Samuel Teixeira Santos wrote:
> Hi folks
>
> I'm using ubuntu 8.04 lts and matplotlib 0.91
>
> I cannot upgrade in this moment.
>
> On my app (for web) I fix several errors (because I did her in 0.99)
>
> My last error (I think it is) is on savefig
>
On 3/16/10 10:10 AM, PaterMaximus wrote:
I have I have an image with both light and dark regions. I want to write text on
it in a color that contrasts with the underlying image color.
Right now if I make the text black, it is not very legible if the underling
color is dark. Similarly, if I make
On 16/03/10 20:39, Jae-Joon Lee wrote:
>
> adjust your subplot parameters.
>
> plt.subplots_adjust(bottom=0.2)
Yep, that did the trick! thanks Jae-Joon and Gökhan!
David
--
Download Intel® Parallel Studio Eval
Try t
I have I have an image with both light and dark regions. I want to write text on
it in a color that contrasts with the underlying image color.
Right now if I make the text black, it is not very legible if the underling
color is dark. Similarly, if I make the text white, it is not legible if the
u
Hi folks
I'm using ubuntu 8.04 lts and matplotlib 0.91
I cannot upgrade in this moment.
On my app (for web) I fix several errors (because I did her in 0.99)
My last error (I think it is) is on savefig
It tells me that cannot open file
on log error, appears on write_png method.
Is this permis
Hello,
Unfortunately, the mplot3D page on the SciPy cookbook is not up to date.
The 3D code in mplot3d has been moved to a toolkit and needs to be
imported as is seen in the examples found here:
http://matplotlib.sourceforge.net/examples/mplot3d/index.html
> So: Any idea how to create a simple
Hi,
I would like to create 3D plots. A search revealed the following page:
http://www.scipy.org/Cookbook/Matplotlib/mplot3D
which explains to install matplotlib version 0.99 to use the 3D code.
Unfortunately, after installingmatplotlib-0.99.1.1 (from
matplotlib-0.99.1.2.tar.gz) I am not able to
On Tue, Mar 16, 2010 at 8:46 AM, Jon Olav Vik wrote:
> Thank you, thank you, thank you.
>
> This is just as convenient, 50% faster even for 1000 series, and runtime does
> indeed scale as O(n) up to 1 series. The projected speedup for 6
> series
> was 40x. However, in my actual use case
On Tuesday 16 March 2010 14:17:26 Nick Schurch wrote:
> I have a script that calls several subroutines, each of which makes a
> different figure. One of these routines makes lots of figures for use
> in a webpage, all of which are saved as they are made. When I call
> show() at the end of the scrip
Jae-Joon Lee writes:
> If you're plotting lots of lines, do not use plot but use
> LineCollection instead.
>
> http://matplotlib.sourceforge.net/examples/api/collections_demo.html
>
> http://matplotlib.sourceforge.net/api/
collections_api.html#matplotlib.collections.LineCollection
>
> Here is
I have a script that calls several subroutines, each of which makes a
different figure. One of these routines makes lots of figures for use
in a webpage, all of which are saved as they are made. When I call
show() at the end of the script it is showing all the figures (as one
might expect), but wha
On Tue, Mar 16, 2010 at 3:30 AM, David wrote:
> This did not yield any results. With the above code, xlab.set_position((0.2,
> 0.1)), I change the position of the xlabel.
> But the problem is that my graph is cut before the xlabel has a chance to
> appear (see dea.png). Basically the graph ends ri
On Tue, Mar 16, 2010 at 3:30 AM, David wrote:
> On 16/03/10 07:59, Gökhan Sever wrote:
>>
>> Probably you need a unicode font-set that contain all the characters for
>> those alphabets. You can look at this example to see a simple unicode
>> demonstration example.
>
> Yes, I have done that, for ex
If you're plotting lots of lines, do not use plot but use
LineCollection instead.
http://matplotlib.sourceforge.net/examples/api/collections_demo.html
http://matplotlib.sourceforge.net/api/collections_api.html#matplotlib.collections.LineCollection
Here is slightly modified version of your code t
I want to overlay many line plots using alpha transparency. However, plotting
them in Matplotlib takes about O(n**2) time, and I think I may be running into
memory limitations as well.
As a simple benchmark, I used IPython to run alco.ipy (below), which runs
alco.py for an increasing number of
EuroPython 2010 - 17th to 24th July 2010
EuroPython is a conference for the Python programming language
community, including the Django, Zope and Plone communities. It is
aimed at everyone in the Python community, of all skill levels, both
users and programm
Dear Gökhan,
thanks a lot for your reply and help! I could solve some of my problems,
others remain elusive.
On 16/03/10 07:59, Gökhan Sever wrote:
Probably you need a unicode font-set that contain all the characters for
those alphabets. You can look at this example to see a simple unicode
de
31 matches
Mail list logo