472,776 Members | 2,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,776 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 2602
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...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.