473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DISLIN or gnuplot.py

I am going to need to plot some data and formula results from Python. A
few years ago I used gnuplot (not from Python) and was wondering which
Python plotting module I should use (learn)?

I have seen DISLIN mentioned on "onlamp.com" and see that gnuplot has a
python module wrapper.

Any suggestions on Python plotting modules? (DISLIN or gnuplot.py or ????)

Thanks
Jul 18 '05 #1
6 2634
Richard <no**@pacbell.net> wrote in message news:<pa****************************@pacbell.net>. ..
I am going to need to plot some data and formula results from Python. A
few years ago I used gnuplot (not from Python) and was wondering which
Python plotting module I should use (learn)?

I have seen DISLIN mentioned on "onlamp.com" and see that gnuplot has a
python module wrapper.

Any suggestions on Python plotting modules? (DISLIN or gnuplot.py or ????)


You should use the tool you prefer.

Personally I would use DISLIN over gnuplot any time. Heck, I would
(and I do) use Scheme (my DISLIN binding to Bigloo) over Python any
time.

You did not unveil in which circumstances you are going to use you
plots. If it is important for you: I use my created plots under
Bigloo/DISLIN in my papers for publication.

Fensterbrett
Jul 18 '05 #2
>>>>> "Richard" == Richard <no**@pacbell.net> writes:

Richard> I am going to need to plot some data and formula results
Richard> from Python. A few years ago I used gnuplot (not from
Richard> Python) and was wondering which Python plotting module I
Richard> should use (learn)?

Richard> I have seen DISLIN mentioned on "onlamp.com" and see that
Richard> gnuplot has a python module wrapper.

Richard> Any suggestions on Python plotting modules? (DISLIN or
Richard> gnuplot.py or ????)

I suggest looking at matplotlib. Although it is not as mature as
DISLIN and gnuplot, it is progressing rapidly and supports most 2D
plotting needs, with the remaining gaps closing quickly (see
http://matplotlib.sourceforge.net/screenshots.html for a quick
snapshot of capabilities).

It has several advantages over these old workhorses

-- written in python for python, so it is easier for users to become
developers. This makes it possible, for example, to write a
custom tick locator or formatter by extending one of the base
python classes.

-- supports many nice features that older packages do not:
antialiasing, alpha channel, freetype fonts, sophisticated
cross-platform font finding.

-- embeddable in an GUI application: gtk, wx, tkinter, fltk. More
to come.

-- mathematical text with "TeX" style expressions; mathtext and
plain text looks the same in the GUI, image and postscript
backends because we embed truetype fonts in postscript.
It is also actively developed and supported by yours truly and others.

http://matplotlib.sourceforge.net
JDH
Jul 18 '05 #3
Richard wrote:

Any suggestions on Python plotting modules? (DISLIN or gnuplot.py or ????)


neither, use matplotlib instead:

http://matplotlib.sourceforge.net/

Istvan.
Jul 18 '05 #4
On Mon, 11 Oct 2004 08:12:16 -0500, John Hunter wrote:
>> "Richard" == Richard <no**@pacbell.net> writes:


Richard> I am going to need to plot some data and formula results
Richard> from Python.

I suggest looking at matplotlib. Although it is not as mature as
DISLIN and gnuplot, it is progressing rapidly and supports most 2D
plotting needs, with the remaining gaps closing quickly (see
http://matplotlib.sourceforge.net/screenshots.html for a quick
snapshot of capabilities).
http://matplotlib.sourceforge.net
JDH


Thank you for the reply.

It looks like matplotlib will handle my immediate plotting from
Python needs.

The 'goals' page on the matplotlib web site state
that there has been some 'proof-of-concept' work completed on
3-d visualization. Any estimate on when there might be some
3-d plotting support?

Richard

Jul 18 '05 #5
Richard wrote:
On Mon, 11 Oct 2004 08:12:16 -0500, John Hunter wrote:
>>> "Richard" == Richard <no**@pacbell.net> writes:


Richard> I am going to need to plot some data and formula results
Richard> from Python.

I suggest looking at matplotlib. Although it is not as mature as
DISLIN and gnuplot, it is progressing rapidly and supports most 2D
plotting needs, with the remaining gaps closing quickly (see
http://matplotlib.sourceforge.net/screenshots.html for a quick
snapshot of capabilities).
http://matplotlib.sourceforge.net
JDH


Thank you for the reply.

It looks like matplotlib will handle my immediate plotting from
Python needs.

The 'goals' page on the matplotlib web site state
that there has been some 'proof-of-concept' work completed on
3-d visualization. Any estimate on when there might be some
3-d plotting support?


See http://mayavi.sourceforge.net

In my view, matplotlib for 2d and mayavi for 3d plotting and complex data
visualization problems, make a very powerful combination for scientific
computing work.

Best,

f

Jul 18 '05 #6
Richard <no**@pacbell.net> wrote in message news:<pa****************************@pacbell.net>. ..
I am going to need to plot some data and formula results from Python. A
few years ago I used gnuplot (not from Python) and was wondering which
Python plotting module I should use (learn)?

I have seen DISLIN mentioned on "onlamp.com" and see that gnuplot has a
python module wrapper.

Any suggestions on Python plotting modules? (DISLIN or gnuplot.py or ????)

Thanks


Dunno about DISLIN; I have found easier to generate gnuplot code from
Python
than using gnuplot.py (since I already knew the gnuplot language). But
maybe it is just me ;)

Michele Simionato
Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gaubitzer Erwin | last post by:
Hi everybody I want to recompile the DISLIN graphics module for Python under Linux, because I think it is one of the best graphics libraries at present. The included module was for version 2.0...
1
by: Karin Lagesen | last post by:
I have a lot of data that I am going to plot and put on a web server. Since there is a lot of it, I was planning to script it all using python. I have looked around and it seems to me that dislin...
2
by: Tom Richardson | last post by:
If anyone has any experience using the graphics package DISLIN with Python, I'd appreciate some help. I am trying to use the function tifmod to change the resolution of a tif graphics file....
5
by: eesun | last post by:
Hi, I've downloaded the dislin package for the scientific plotting. And I have already created the application window with Tkinter (menu, canvas, status bar..). I want to integrate the Dislin...
1
by: pwhbeck | last post by:
Linux SUSE 10.1 Python 2.5 Dislin 9.1 Download dislin 9.1, change to directory dislin-9.1/python Change make_py to: elif test $1 = lnx ; then CC="gcc -fPIC -c -O" ...
3
by: luis | last post by:
Hello! I have an unespectedn result with dislin titlin dislin.metafl ('WMF') dislin.disini () ..... a="Andrés or Ramón" dislin.titlin (a.encode("Latin-1"), 1)
1
by: adolfo | last post by:
I am at the very beginning of the DISLIN 9.3 Manual: 1.4 Quickplots Some quickplots are added to the DISLIN module which are collections of DISLIN routines for displaying data with one command....
3
by: adolfo | last post by:
*** I thought I posted this subject 45 min ago but it does not show so something went wrong and it does not show up. Excuse me if I repeat myself *** DISLIN 9.3 old manual problems I just...
0
by: Helmut Michels | last post by:
Dear C/C++ programmers, I am pleased to announce version 9.4 of the data plotting software DISLIN. DISLIN is a high-level and easy to use plotting library for displaying data as curves, bar...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.