473,401 Members | 2,125 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,401 software developers and data experts.

problem with gnuplot in XP

Hi all,

I made 2 arrays, which are i and uzuy (both are
float). And I want to plot the graph between those
arrays.

I followed from the manual

==================

from Gnuplot import Gnuplot, Data

g=Gnuplot()
results=Data(i,uzuy)

g.plot(results)
=================

here I got the message

============================
Traceback (most recent call last):
File "<pyshell#85>", line 1, in -toplevel-
g.plot(i,uzuy)
File
"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py",
line 274, in plot
self.refresh()
File
"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py",
line 215, in refresh
self(self.plotcmd + ' ' + string.join(plotcmds, ',
'))
File
"C:\Python23\Lib\site-packages\Gnuplot\_Gnuplot.py",
line 199, in __call__
self.gnuplot(s)
File
"C:\Python23\Lib\site-packages\Gnuplot\gp_win32.py",
line 125, in __call__
self.write(s + '\n')
IOError: [Errno 22] Invalid argument
======================================

FYI, I use python2.3 and Gnuplot-py-1.7. Any problems
with my code ??

Thanks

__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
Oct 28 '05 #1
0 1894

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

Similar topics

2
by: ¶}¾Ç¤F¶Ü? | last post by:
I'm trying to write a script to pass a file of stock prices and volumes, and plot the results on a gnuplot graph which is non-overlapped graph. Fig. 1 ------------ Fig. 2 Figure 1 is a graph...
4
by: Rama Calaga | last post by:
Hi, I use both python and gnuplot a lot, but I am unable to find a way to embed gnuplot "window/canvas" into tkinter. BLT option in PMW is not so powerful and not so great, any suggestions ?? ...
3
by: Blues | last post by:
Hey, I have used two great models - Tkinter and Gnuplot.py - for a while. I can display an image on a Canvas widget using Tkinter and I can also generate a gnuplot from Python on the fly in a...
9
by: syd | last post by:
I don't even know where to begin. This is just bizarre. I just picked up the Gnuplot.py module (a light interface to gnuplot commands) and was messing around with it today. I've got a tiny...
6
by: Joseph Suprenant | last post by:
Hello all, I have a C++ program, it does some calculations on things and then prints out a file in the format in which GNUPLOT can use. So my question is how would i call GNUPLOT from my C++...
1
by: Nicola Kaiser | last post by:
Hi, I´m using Gnuplot via gnuplot.py and I´m looking for a way to get the plotting output (terminal set to png in my case) piped in a string instead of to stdout or a file. Is there any...
0
by: bwaha | last post by:
I've posted this question to comp.graphics.apps.gnuplot too but given that this python group may also comprise a lot of gnuplot users, and is far more active, I've posted this question here too. My...
2
by: Blah | last post by:
I'm trying to use the system() in a C++ program to execute gnuplot on a file of data on OSX and have the graph pop up but so far the only thing I've managed to do is get gnuplot to open. as I...
1
by: citronade86 | last post by:
Hello I am trying to run the gnuplot module with python2.5 and Numeric installed. When I try to run the demo I get the following error: File "demo.py", line 22, in <module> import Gnuplot,...
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: 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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.