pxy_S_scat.py

Use a simple ASCII input file to plot a single X,Y data set with the python matplotlib package. The original version of this code was called pxy_Serr_scat. You should view the doc for that to see more detail about the these simple (hence the "S") codes. Also there are more examples of runs in the test data section ($tdata) for pxy_Serr_scat.

I wrote a script named mpl that provides a brief summary of point type a color properties.

The sample plots are not reproduced here. They are the same as those in pxy_Serr_scat except the error bars are removed. Here are some sample runs and a sample input file:

 
% pxy_S_scat.py -h 
usage: pxy_S_scat.py [-h] [-v] arg1 arg2 arg3 arg4 arg5

positional arguments:
  arg1           input data file
  arg2           low value for X axis
  arg3           high value for X axis
  arg4           low value for Y axis
  arg5           high value for Y axis

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Verbose responses

% cat dat.1  
The main plot title 
Name of X axis 
Name of the Y axis label string 
r * 100 
Set 12 Name
1.0 1.1  
2.0 1.9  
3.0 3.1  
4.0 4.4  
5.0 4.6  

% pxy_S_scat.py dat.1 -1.0 7.0 0.5 8.0  




Back to SCO CODES page