mpl command-line utilities

All,

I was brain-storming yesterday and I wanted to test the waters to see
if people would find it useful.

Currently, GNU plotutils comes with command-line utilities such as
`graph` to create quick and dirty line plots like this:
http://www.gnu.org/software/gsl/manual/html_node/DWT-Examples.html. I
think even gnuplot might be similar.

How do people feel about perhaps adding a matplotlib version, mocking
the same calling signature as graph?

I think the most important question is: would it be useful?

···

--
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

I think this could be very useful -- and might help increase the user base beyond the Python community. As I, and most of us on this list, are quite comfortable with Python, I don't think I'd use it myself, but I certainly see the utility of it.

Mike

···

On 10/17/2012 06:38 AM, Damon McDougall wrote:

All,

I was brain-storming yesterday and I wanted to test the waters to see
if people would find it useful.

Currently, GNU plotutils comes with command-line utilities such as
`graph` to create quick and dirty line plots like this:
http://www.gnu.org/software/gsl/manual/html_node/DWT-Examples.html. I
think even gnuplot might be similar.

How do people feel about perhaps adding a matplotlib version, mocking
the same calling signature as graph?

I think the most important question is: would it be useful?

I also think that would be useful. It would, for example, allow to
generate "preview" plots from other languages, without interfacing
them to Python. It must be said that MPL is actually quite nice
looking in the default settings for basic plotting, and this is an
nice feature that can exploit.

I have seen many pieces of code using SuperMongo for plotting. I find
it absolutely ugly, and super expensive, but it is probably the easier
plotting system to call from FORTRAN (or, at least, it was).

···

On Wed, Oct 17, 2012 at 3:15 PM, Michael Droettboom <mdroe@...86...> wrote:

I think this could be very useful -- and might help increase the user
base beyond the Python community. As I, and most of us on this list,
are quite comfortable with Python, I don't think I'd use it myself, but
I certainly see the utility of it.

Mike

On 10/17/2012 06:38 AM, Damon McDougall wrote:

All,

I was brain-storming yesterday and I wanted to test the waters to see
if people would find it useful.

Currently, GNU plotutils comes with command-line utilities such as
`graph` to create quick and dirty line plots like this:
http://www.gnu.org/software/gsl/manual/html_node/DWT-Examples.html. I
think even gnuplot might be similar.

How do people feel about perhaps adding a matplotlib version, mocking
the same calling signature as graph?

I think the most important question is: would it be useful?

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

I can certainly see the benefit. As Mike said, I don’t think I would use it myself, but I could see non-python users finding it useful.

Personally, I think this would be a nice extension that doesn’t have to live in the core matplotlib code base. That way release cycles and testing can be done completely independently without complicating the matplotlib repo.

Nice idea.

Phil

···

On 17 October 2012 16:20, Daπid <davidmenhur@…287…> wrote:

I also think that would be useful. It would, for example, allow to

generate “preview” plots from other languages, without interfacing

them to Python. It must be said that MPL is actually quite nice

looking in the default settings for basic plotting, and this is an

nice feature that can exploit.

I have seen many pieces of code using SuperMongo for plotting. I find

it absolutely ugly, and super expensive, but it is probably the easier

plotting system to call from FORTRAN (or, at least, it was).

On Wed, Oct 17, 2012 at 3:15 PM, Michael Droettboom <mdroe@…86…> wrote:

I think this could be very useful – and might help increase the user

base beyond the Python community. As I, and most of us on this list,

are quite comfortable with Python, I don’t think I’d use it myself, but

I certainly see the utility of it.

Mike

On 10/17/2012 06:38 AM, Damon McDougall wrote:

All,

I was brain-storming yesterday and I wanted to test the waters to see

if people would find it useful.

Currently, GNU plotutils comes with command-line utilities such as

graph to create quick and dirty line plots like this:

http://www.gnu.org/software/gsl/manual/html_node/DWT-Examples.html. I

think even gnuplot might be similar.

How do people feel about perhaps adding a matplotlib version, mocking

the same calling signature as graph?

I think the most important question is: would it be useful?


Everyone hates slow websites. So do we.

Make your web apps faster with AppDynamics

Download AppDynamics Lite for free today:

http://p.sf.net/sfu/appdyn_sfd2d_oct


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Everyone hates slow websites. So do we.

Make your web apps faster with AppDynamics

Download AppDynamics Lite for free today:

http://p.sf.net/sfu/appdyn_sfd2d_oct


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users

I totally agree with to general opinion that a command line tool would be beneficial.
I've written a simple mpl commandline plotter quite some time ago and use it frequently for
quick previews but also to create simple plots for presentations. It features some options to
modify the appearance just like GNU/graph.
If somebody wants to give it at try, I've attached the script.

br
Jakob

rptplot.py (9.71 KB)

···

I was brain-storming yesterday and I wanted to test the waters to see
if people would find it useful.

Currently, GNU plotutils comes with command-line utilities such as
`graph` to create quick and dirty line plots like this:
http://www.gnu.org/software/gsl/manual/html_node/DWT-Examples.html. I
think even gnuplot might be similar.

How do people feel about perhaps adding a matplotlib version, mocking
the same calling signature as graph?

I think the most important question is: would it be useful?