Ask Your Question
1

Plotting PSSE Results

asked 2014-10-28 22:55:58 -0500

anonymous user

Anonymous

Hi

How do I get started plotting PSSE results in a "nice" way. I hear Matplotlib and numpy can be used but I have no idea how to install these and have looked around for an explanation. I have python installed as I am running python scripts from PSSE.

Could someone point me in the right direction?

Regards,

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2014-10-29 00:58:27 -0500

DaRobba gravatar image

Hi Eli,

Appreciate your response thank you.

Am using Python2.7 (not sure how to use the commands you provided but I just opened up Python and got the version number).

I did see the links you've provided but it didn't provide a step by step guide on how to install. Please forgive me as my experience is absolutely minimal to zero wrt python and any other plotting tool.

Thanks and much appreciated.

edit flag offensive delete link more

Comments

Where are you stuck? Download this file, and run the installer. https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.4.2/windows/matplotlib-1.4.2.win32-py2.7.exe If you are absolutely new to Python, I'd suggest going through some of the tutorials on www.learnpython.org.

Eli Pack gravatar imageEli Pack ( 2014-10-29 03:43:08 -0500 )edit
0

answered 2014-10-29 00:54:16 -0500

Eli Pack gravatar image

Matplotlib is a good way to plot results from Python. One issue however, is that anyone you share your code with will also need to install it. You'll need to pick the installer depending on your Python version. Use the following commands to check your Python version:

import sys
print sys.version

You can download Matplotlib from here. Here is a brief tutorial.

Personally, I prefer to write my results to a CSV file, and then use a custom made excel workbook (with macros) to import and graph those CSV results. This makes it easier to edit your graphs for a report.

edit flag offensive delete link more
0

answered 2014-10-29 08:10:56 -0500

DaRobba gravatar image

Thanks Eli, i actually didnt see the exe files!

Downloaded it and executed the application - all I get now if a mouse cursor that flashes. My machine is 32bit so its the right installer. When I look in task manager it just shows the installer moving up and down in Processes.

Its not installing.

edit flag offensive delete link more

Comments

Ignore last message - I got it working!

DaRobba gravatar imageDaRobba ( 2014-10-29 08:14:49 -0500 )edit

Eli i'm trying to practice using this example here: http://www.whit.com.au/blog/2012/07/matplotlib-and-psse/ But I got the following errors when i ran the script: Traceback (most recent call last): File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 325,

DaRobba gravatar imageDaRobba ( 2014-10-29 08:42:08 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2014-10-28 22:55:58 -0500

Seen: 1,483 times

Last updated: Oct 29 '14