User Tools

Site Tools


plotting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
plotting [2014/05/28 14:56]
schatz created
plotting [2014/05/28 14:57]
schatz
Line 1: Line 1:
 One good option for plotting is to use PYTHON'​s matplotlib. Below a sample script you can modify. This one graphs contents of a file called liquid.dat One good option for plotting is to use PYTHON'​s matplotlib. Below a sample script you can modify. This one graphs contents of a file called liquid.dat
-<nowiki>+<code>
 from numpy import * from numpy import *
 from pylab import * from pylab import *
Line 26: Line 26:
 # Draw the plot to screen # Draw the plot to screen
 show() show()
-</nowiki>+</code>
  
 The data file for this example looks like this: The data file for this example looks like this:
plotting.txt ยท Last modified: 2014/05/28 14:59 by schatz