|
From: Jeff N. <jn...@co...> - 2021-04-22 23:21:38
|
We have a bash script that uses gnuplot via its CLI to output simple histograms in GIF format. We would like to change that output in SVG or HTML5 format, so there is mouse interactivity. We're hoping to just hire someone to knock this out for us! But if no one is interested, any guidance would be appreciated.
Here's an example of the code:
/usr/local/bin/gnuplot << EOF
# set terminal size and background color and medium font size
set terminal gif medium size $width,$height background rgb "$bgcolor"
unset key
unset tics
unset border
set bmargin 0
set lmargin 0
set rmargin 0
set tmargin 0
set output "${outdir}/${inname}_histogram_${colormode}.gif"
set xrange [0:255]
set yrange [0:$ymax]
plot "tmpT.txt" using 1:2 with filledcurves below x1 linecolor "$linecolor"
# EOF must not have any white space before it or does not work
EOF
--
Jeff NovaChief Executive Officer
Colorhythmhttps://colorhythm.com
jn...@co...
Main: +1 415-399-9921Direct: +1 415-399-9921 x407Mobile: +1 510-710-9590Fax: +1 415-399-9928
Pronouns: he / his
This electronic mail and the documents accompanying it are considered trade secret, confidential and/or proprietary by Colorhythm LLC. This information is intended for use by the individual or entity to whom this e-mail is addressed. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.
|