Re: [Matplotlib-users] Using Hex number with shape syntax

2008-08-04 Thread Manuel Metz
stuartornum wrote: Hi, I am just playing around with different shapes and colours at the moment, I have managed the standard colours like this: plot(Time, Value, 'r.') Which obviously prints a red dot. However how do use the hex colour map with the ., I have tried: plot(Time,

[Matplotlib-users] Using Hex number with shape syntax

2008-08-04 Thread stuartornum
Hi, I am just playing around with different shapes and colours at the moment, I have managed the standard colours like this: plot(Time, Value, 'r.') Which obviously prints a red dot. However how do use the hex colour map with the ., I have tried: plot(Time, Value, '#330066.') plot(Time,

Re: [Matplotlib-users] Using Hex number with shape syntax

2008-08-04 Thread John Hunter
On Mon, Aug 4, 2008 at 4:48 AM, Manuel Metz [EMAIL PROTECTED] wrote: Use the named kwarg linestyle: plot(Time, Value, '#330066', linestyle='.') I think you meant marker, since the '.' represents a marker rather than a linestyle plot(Time, Value, color='#330066', marker='.') JDH

Re: [Matplotlib-users] [matplotlib-devel] matplotlib 0.98.3 release candidate, please test

2008-08-04 Thread Michael Droettboom
The graphviz failing is my bad. I failed to test the latex doc build (since it never works for me anyway due to a too-old version of latex). This is fixed in SVN r5962, and a patch against doc/sphinxext/inheritance_diagram.py is attached. Cheers, Mike Sandro Tosi wrote: On Sun, Aug 3,

Re: [Matplotlib-users] Using Hex number with shape syntax

2008-08-04 Thread stuartornum
Perfect! Thanks guys Did this in the end: plot(Time, Value, 'o', markersize = 1, markerfacecolor = '#330066', markeredgecolor = '#330066' -- View this message in context: http://www.nabble.com/Using-Hex-number-with-shape-syntax-tp18808107p18811425.html Sent from the matplotlib - users

Re: [Matplotlib-users] matplotlib 0.98.3 release candidate, please test

2008-08-04 Thread John Hunter
On Sun, Aug 3, 2008 at 1:19 PM, Charlie Moad [EMAIL PROTECTED] wrote: I was going to wait on John about the docs, but I went ahead and cut the 0.98.3 release. The sdist including the docs was 34MB, so I decided not to include them. This would also cause the binaries to be huge if we included

Re: [Matplotlib-users] [matplotlib-devel] matplotlib 0.98.3 release candidate, please test

2008-08-04 Thread Sandro Tosi
2008/8/4 Michael Droettboom [EMAIL PROTECTED]: The graphviz failing is my bad. I failed to test the latex doc build (since it never works for me anyway due to a too-old version of latex). This is fixed in SVN r5962, and a patch against doc/sphinxext/inheritance_diagram.py is attached.

[Matplotlib-users] Problem with redrawing of plots

2008-08-04 Thread Ghupi
Hello, with the following source code, in which show_function is called after a key event, I have 2 problems :-/: 1) each new drawing (i.e. new call of show_function) leads to a indermediate redrawing of the previous plots, making the program slow 2) the 'button_press_event', which prints

Re: [Matplotlib-users] more demos of mpl with wxPython

2008-08-04 Thread Jonathan Hayward, http://JonathansCorner.com
On Fri, Aug 1, 2008 at 12:43 PM, eliben [EMAIL PROTECTED] wrote: Alan G Isaac wrote: On Fri, 1 Aug 2008, eliben apparently wrote: I wouldn't imagine anyone would hesitate borrowing code from a demo because of a lack of license. It depends on what you mean by lack of a license. I

[Matplotlib-users] 0.98.3 scatter plot color bug?

2008-08-04 Thread Ben Axelrod
I get an error when I use the scatter plot and set the 'c' value to a list of 3-tuples. The error goes away if I use 4-tuples instead. Are colors with only 3 values not supported anymore? ... File C:\Python24\Lib\site-packages\matplotlib\axes.py, line 4807, in scatter colors =

Re: [Matplotlib-users] 0.98.3 scatter plot color bug?

2008-08-04 Thread Michael Droettboom
Looks like a bug -- it should accept either 3 or 4 columns. I'll have a chance to look at this further this afternoon. Cheers, Mike Ben Axelrod wrote: I get an error when I use the scatter plot and set the ā€˜cā€™ value to a list of 3-tuples. The error goes away if I use 4-tuples instead. Are

Re: [Matplotlib-users] 0.98.3 scatter plot color bug?

2008-08-04 Thread Ben Axelrod
Thanks, I think it is great that the color can be specified as either 3 or 4 columns. It would be nice if the bar plot color arguments also had this flexibility. They currently fail when the color has 4 columns. Will this bug fix need to wait until the next official release? (I am

[Matplotlib-users] least squares fitting of great circle to points on a sphere

2008-08-04 Thread Zane Selvans
Does anyone out there happen to know a simple algorithm for least squares fitting a great circle to a given set of lat/lon points on a sphere? Seems like it might not be a crazy thing to add to the library. Thanks! Zane -- Zane Selvans Amateur Earthling http://zaneselvans.org [EMAIL