473,666 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2654
Richard <no**@pacbell.n et> 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.n et> 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.n et> 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.n et> 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.n et> 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
1938
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 and I want it for 2.2 or maybe 2.3. The problem is, that I use the small make_py script which only calls the gcc compiler CC="gcc -fPIC -c -O" PYTH_INC="/usr/local/include/python2.0"
1
1607
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 is good for doing the plots. However, I cannot seem to find the file/package/?? that I need to do the following statement: from dislin import * which the dislin python manual describes.
2
1989
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. Either I am using it incorrectly, or I don't understand what it is supposed to do. If I use tifmod(N,'INCH','RESOLUTION')
5
2130
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 plotting into the Tkinter application. For ex: show the dislin result on the Tkinter Canvas. Anyone can help? thx
1
2199
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" PYTH_INC="/usr/local/include/python2.5" PYTH_CONF="/usr/local/lib/python2.5/config"
3
2218
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
1764
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. For example, the function ’plot’ displays two-dimensional curves. Example: from Numeric import * from dislin import * x = arange (100, typecode=Float32) plot (x, sin (x/5)) disfin ()
3
2528
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 installed DISLIN 9.3 for python (DISPY is installed too) and I am up to: 1.4 Quickplots
0
1930
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 graphs, pie charts, 3D-colour plots, surfaces, contours and maps. Several output formats are supported such as X11, VGA, PostScript, PDF, CGM, WMF, HPGL, TIFF, GIF, PNG, BMP and SVG.
0
8445
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1776
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.