Plot python script output to file | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Plot python script output to file

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-21-2013
newbie83 newbie83 is offline
Registered User
 
Join Date: Nov 2011
Last Activity: 19 May 2014, 3:50 PM EDT
Posts: 86
Thanks: 56
Thanked 2 Times in 1 Post
Plot python script output to file

Hi all,

I`m trying to generate some plots using a python package named splicegrapher.
I have access to a cluster which does not allow X11 forwarding and as a result I get RuntimeError: could not open display error when I use one of the plotting scripts (attached).

How do I modify the script so that it plots the output to a file instead of trying to display it?

I`m not sure if this is the right forum to ask this question, please remove this thread if applicable.
Attached Files
File Type: txt view_splicegraphs.txt (11.7 KB, 14 views)

Last edited by newbie83; 07-21-2013 at 12:59 AM..
Sponsored Links
    #2  
Old 07-22-2013
rajamadhavan rajamadhavan is offline
Registered User
 
Join Date: Aug 2010
Last Activity: 19 June 2014, 8:07 AM EDT
Location: Bangalore, India
Posts: 279
Thanks: 4
Thanked 58 Times in 57 Posts
I am not python expert, but splicegrapher user guide at this link
SpliceGrapher User?s Guide — SpliceGrapher 0.2.2 documentation

says this..
--
There are two ways to view the resulting graph: view_splicegraphs.py and plotter.py. The first script allows you to view a splice graph on your screen or, if you prefer, save it to a file. plotter.py is designed for file output and provides a more extensive set of options. We have provided an example plotter configuration file to get you started:
---

You can build on from this lead.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell output with plot a tree structure. ponmuthu Shell Programming and Scripting 1 01-08-2013 11:01 AM
script to mail monitoring output if required or redirect output to log file aix_admin_007 Shell Programming and Scripting 4 10-22-2012 08:49 PM
Awk script to run a sql and print the output to an output file adept Shell Programming and Scripting 4 06-10-2012 10:40 AM
Shell script to run a python program on multiple entries in a file ad23 Shell Programming and Scripting 2 11-11-2010 11:23 AM



All times are GMT -4. The time now is 01:27 PM.