From: Gary R. <ga...@em...> - 2004-05-04 09:15:51
|
Hi John, I think it would be nice to have a few more line and marker types. For example, DISLIN has 24 marker symbol types and 8 line types. Perhaps one could specify (perhaps in points) the length of the dashes and the spacing between them for dashed line types and perhaps even specify the pattern of dashes, dots and spaces, but maybe I'm a line type control-freak. Actually, what I'd really like is for the ratio of dashes to the breaks between them to be changed. A 3 or 4 to 1 ratio looks nicer than what I'm seeing with GTKAgg (about 1 to 1), but others' opinions may vary, hence the control-freak suggestion. Gary ----- Original Message ----- From: John Hunter <jdh...@ac...> Date: Mon, 03 May 2004 16:17:02 -0500 To: mat...@li... Subject: [Matplotlib-users] matplotlib priorities > > Perry Greenfield has spent a fair amount of time talking with me and > the folks working at stsci on matplotlib to come up with a set of > goals and priorities for near term development, and has thoroughly > revamped the goals page > > http://matplotlib.sourceforge.net/goals.html > > We hope that this page will stay much more current than the last page, > which grew fairly static as most of the goals at the time the page was > created were fulfilled. > > Take a look over the list and speak up for anything we may have > overlooked. > > JDH > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |
From: Steve C. <ste...@ya...> - 2004-05-04 13:25:55
|
Regarding "Performance - Faster point and symbol plots" The RenderBase class has the draw_point() method, I think it should have a "draw_points()" method added to it. Then points would be similar to lines which have draw_line() and draw_lines() methods. It should then be easy to gain a speedup (in GTK+ at least) by calling the relevant GDK C library function, instead of using a Python loop calling draw_point(). Existing methods: draw_line() calls drawable.draw_line() draw_lines() calls drawable.draw_lines() draw_point() calls drawable.draw_point() New method: draw_points() calls drawable.draw_points() Line2D._draw_pixel() should become much faster. Regards Steve |
From: James B. <bo...@ll...> - 2004-05-04 16:37:00
|
suggestions: (1) a color bar / scale for the pseudo color / image plots. A graphic mapping of values to colors is pretty standard in such displays. (2) Although map projections are listed last in the 'Plot types' category, it would be good to consider how these will be implemented right now. Map projections are just a particular application of a user coordinate ->display coordinate transformation, and such a transformation capability needs to be at the core of all the plots. They are more handy than one might think. If such a transformation hook is available then the map projections are straightforward using PROJ4 ( http://www.remotesensing.org/proj/ ) code, for example. Actually, the trickiest part of coordinate transformations is positioning the axis labels in a 'nice' way. Astronomers use projections too - the whole sky COBE displays appear to be in a Hammer or Mollweide projection. Jim |
From: Gary R. <ga...@em...> - 2004-05-05 07:29:07
|
John, Once again you've amazed me with your responsiveness to feature ideas. Thanks! Hopefully I'll get sick of my more pressing work soon and have a look at implememnting some other markers, Gary ----- Original Message ----- From: John Hunter <jdh...@ac...> Date: Tue, 04 May 2004 09:03:22 -0500 To: "Gary Ruben" <ga...@em...> Subject: Re: [Matplotlib-users] matplotlib priorities > >>>>> "Gary" == Gary Ruben <ga...@em...> writes: > > Gary> Hi John, I think it would be nice to have a few more line > Gary> and marker types. For example, DISLIN has 24 marker symbol > Gary> types and 8 line types. Perhaps one could specify (perhaps > Gary> in points) the length of the dashes and the spacing between > Gary> them for dashed line types and perhaps even specify the > Gary> pattern of dashes, dots and spaces, but maybe I'm a line > Gary> type control-freak. > > Rightfully so. Ideally everything should be under your control. BTW, > new symbols are fairly easy to add. Just take a look at lines.py. > Basically, you just have to define one new function following the lead > of the many that are already there and one new dictionary entry in > lineMarkers. If you or anyone else defines some custom markers, > please send them my way. > > Gary> Actually, what I'd really like is for the ratio of dashes to > Gary> the breaks between them to be changed. A 3 or 4 to 1 ratio > Gary> looks nicer than what I'm seeing with GTKAgg (about 1 to 1), > Gary> but others' opinions may vary, hence the control-freak > Gary> suggestion. Gary > > Actually this is how dashes are implemented at the renderer level, > with an arbitrary sequence of on off ink in points. All that was > needed was to expose this to the user interface, which I've done with > a new method set_dashes, eg, > > line.set_dashes([5,3,1,12]) # 5 on 3 off 1 on 12 off > > In the next release there will be a new examples/dash_control.py which > illustrates this. > > Thanks for the suggestion, > John -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |
From: John H. <jdh...@ac...> - 2004-05-04 14:26:16
|
>>>>> "Gary" == Gary Ruben <ga...@em...> writes: Gary> Hi John, I think it would be nice to have a few more line Gary> and marker types. For example, DISLIN has 24 marker symbol Gary> types and 8 line types. Perhaps one could specify (perhaps Gary> in points) the length of the dashes and the spacing between Gary> them for dashed line types and perhaps even specify the Gary> pattern of dashes, dots and spaces, but maybe I'm a line Gary> type control-freak. Rightfully so. Ideally everything should be under your control. BTW, new symbols are fairly easy to add. Just take a look at lines.py. Basically, you just have to define one new function following the lead of the many that are already there and one new dictionary entry in lineMarkers. If you or anyone else defines some custom markers, please send them my way. Gary> Actually, what I'd really like is for the ratio of dashes to Gary> the breaks between them to be changed. A 3 or 4 to 1 ratio Gary> looks nicer than what I'm seeing with GTKAgg (about 1 to 1), Gary> but others' opinions may vary, hence the control-freak Gary> suggestion. Gary Actually this is how dashes are implemented at the renderer level, with an arbitrary sequence of on off ink in points. All that was needed was to expose this to the user interface, which I've done with a new method set_dashes, eg, line.set_dashes([5,3,1,12]) # 5 on 3 off 1 on 12 off In the next release there will be a new examples/dash_control.py which illustrates this. Thanks for the suggestion, John |