#This is a gnuplot script. You can download gnuplot at # http://www.gnuplot.info #How to use script: # 1. download or create the files you want to compare. # 2 Start gnuplot (in Linux the command is "gnuplot" ) #Then in gnuplot at the prompt type for example: # load "plotStrainLife.txt" # plot "jMartinSAE1028.html" u 2:1 w p pt 5, "jMartinSAE1028_fitted.html" u 2:1 w lp lc 3pt 6 # #Note that in Linux Windows data files may not work. You may have to use # the conversion command; dos2unix filename # to get it to read properly. #Copyright (C) 2013 F.D.E. Committee #This data file is free software - you can redistribute it and/or #modify it under the terms of the GNU General Public License as #published by the Free Software Foundation; either version 2 of the #license, or (at your option) any later version. #This data file is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY - without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #GNU General PUblic License for more details. #You should have received a copy of the GNU General PUblic License #along with this program - if not, write to the Free Software #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA #Try also their web site: http://www.gnu.org/copyleft/gpl.html # #set nokey set nolabel set noparametric set title "Strain-Life" offset 0,-1 #set size 0.553,0.533 #set origin -0.0333,0.007 set logscale xy set xrange [1:100000000] set yrange [0.0001:1] set trange [1:100000000] set xlabel "Life - REVERSALS (2Nf)" offset 0,0.6 set format x " %T\n10" set ytics auto set xtics border auto set mxtics 10 set mytics 10 #if you figure out how to set mxtics (minor tics) color let me know :) set grid ytics lt 12 lw 1 set ylabel "Strain Amp." offset +2,0 #if you have lots of stuff to plot one can write a script to automate. #See this for example: # https://github.com/pdprop/pdprop/blob/master/Pdprop/CleanPdprop/PipeInSurfFlaw/makereport3 #It will create png files, link them up in an html format, and then convert to pdf.