[Swift-user] swift-plot-log with svg graphics
Allan Espinosa
aespinosa at cs.uchicago.edu
Fri Apr 24 13:05:44 CDT 2009
I wanted to zoom into the plots as much as I want so i changed the png term configured in gnuplot invocations to svg. Much prettier than png plots in my opinion :)
My patch for swift-plot-log is in http://www.ci.uchicago.edu/~aespinosa/swiftplot_svg-r2874.patch
Sample plots: http://www.ci.uchicago.edu/~aespinosa/swift/report-blast-20090410-2357-j4nnkrg1/
Known issues: firefox does not properly render svg graphics produced by gnuplot4.0patch0 (like the one installed in communicado). Although this is fixed in gnuplot4.0patch2. below's a small sed script to fix that:
sed -i 's/xmlns/xmlns="http:\/\/www.w3.org\/2000\/svg" xmlns/g' *.svg
-Allan
More information about the Swift-user
mailing list