473,396 Members | 1,805 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,396 software developers and data experts.

gplt from scipy missing ?

I'm relatively new to python. I'm following a tutorial I found on the
net, and it uses scipy's gplt for plotting.
I installed scipy from their website (win32 installation), numpy also,
but when I do

from scipy import gplt

it gives this error:

Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from scipy import gplt
ImportError: cannot import name gplt

Please, can you help me solve this ? How do I get gplt to work ?
All advice appreciated.
Best regards
Ivan
Sep 23 '08 #1
4 3007
En Mon, 22 Sep 2008 23:19:49 -0300, Ivan Reborin
<ir******@delete.this.gmail.comescribió:
I'm relatively new to python. I'm following a tutorial I found on the
net, and it uses scipy's gplt for plotting.
I installed scipy from their website (win32 installation), numpy also,
but when I do

from scipy import gplt

it gives this error:

Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from scipy import gplt
ImportError: cannot import name gplt

Please, can you help me solve this ? How do I get gplt to work ?
All advice appreciated.
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting

--
Gabriel Genellina

Sep 23 '08 #2
On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
<ga*******@yahoo.com.arwrote:
>
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting
Hello Gabriel,
thank you for answering.

Unfortunatelly, I cannot change my plotting package, unless I indend
to change a lot of code that I'll be using in the future. I'm not a
programmer by trade, just a guy doing some calculations with already
written programms.

Do you know, by any chance, where one could get gplt separately, or
for example, get older versions of scipy ?
I'm using python 5.2.2.. If I install scipy for python 2.3. for
example (let's assume that one still has gplt in it) will it work ?

Best regards
Ivan
Sep 23 '08 #3
On Tue, 23 Sep 2008 13:44:41 +0200, Ivan Reborin
<ir******@delete.this.gmail.comwrote:
>On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"
<ga*******@yahoo.com.arwrote:
>>
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting

Hello Gabriel,
thank you for answering.

Unfortunatelly, I cannot change my plotting package, unless I indend
to change a lot of code that I'll be using in the future. I'm not a
programmer by trade, just a guy doing some calculations with already
written programms.

Do you know, by any chance, where one could get gplt separately, or
for example, get older versions of scipy ?
I'm using python 5.2.2.. If I install scipy for python 2.3. for
Mea culpa, *2.5.2
>example (let's assume that one still has gplt in it) will it work ?

Best regards
Ivan
Sep 23 '08 #4
On Sep 23, 7:44 am, Ivan Reborin <irebo...@delete.this.gmail.com>
wrote:
On Tue, 23 Sep 2008 04:26:14 -0300, "Gabriel Genellina"

<gagsl-...@yahoo.com.arwrote:
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
http://wiki.python.org/moin/NumericA...tific/Plotting

Hello Gabriel,
thank you for answering.

Unfortunatelly, I cannot change my plotting package, unless I indend
to change a lot of code that I'll be using in the future. I'm not a
programmer by trade, just a guy doing some calculations with already
written programms.

Do you know, by any chance, where one could get gplt separately, or
for example, get older versions of scipy ?
I'm using python 5.2.2.. If I install scipy for python 2.3. for
example (let's assume that one still has gplt in it) will it work ?

Best regards
Ivan
Well, if you are using scipy, you must at least be doing some
programming. Instead of using gplt, you could just write your data to
a .csv file and feed that to gnuplot yourself. You can then use the
full flexibility of gnuplot for formatting your output, without having
to cross your fingers that the features you need will be covered by
the gplt module. You also have your data in a readable format after
calculation but before plotting - I find such intermediate data useful
for debugging.
Sep 23 '08 #5

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

Similar topics

3
by: hawkesed | last post by:
Hi All, has anyone out there recently set up scipy on Windows? Cause I am trying to do so know and I am not having much luck. I have ActiveState and Plone. When I try to import scipy in...
1
by: tkpmep | last post by:
I installed SciPy and NumPy (0.9.5, because 0.9.6 does not work with the current version of SciPy), and had some teething troubles. I looked around for help and observed that the tutorial is dated...
0
by: Julien Fiore | last post by:
Hi, I have problems trying to install the scipy.weave package. I run Python 2.4 on windows XP and my C compiler is MinGW. Below is the output of scipy.weave.test(). I read that the tests should...
2
by: Aage Andersen | last post by:
I am exploring the modules scipy and linalg using python under Win XP and IDLE. Defining m=matrix( .. ) and trying to compute the inverse of m: I get an array: This is unfortunate. I...
2
by: robert | last post by:
I'm using latest numpy & scipy. What is this problem ? : RuntimeError: module compiled against version 1000002 of C-API but this version of numpy is 1000009 Traceback (most recent call last):...
2
by: Peter Maas | last post by:
I tried some scipy examples using scipy 0.52, numpy 1.02 and python 2.5 on a WinXP SP2 machine. numpy.linalg.det() works but scipy.linalg.det() crashes python. Has anybody experienced this and can...
2
by: Frank Moyles | last post by:
Hi, I want to use SciPy library. I am using W2k, and ActiveState Python 2.5. I have succesfully numpy, but when I run the scipy-0.6.0.win32-py2.5.exe (from the downloads section on the SciPy...
0
by: Frank Moyles | last post by:
Hi, I want to use SciPy library. I am using W2k, and the standard Python 2.5.1 binary distribution from www.pthon.org I have already succesfully installed numpy, but when I try to install SciPy...
4
by: Richard_Martineau | last post by:
Hello All I wonder if anyone can advise me or has done similar to the following? Basically I've downloaded the Python 2.5.2 source code that builds with Visual Studio 6.0. I've built Python...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.