Skip to content

Instantly share code, notes, and snippets.

@tabe
Last active November 25, 2019 06:32
Show Gist options
  • Save tabe/770a80216f65c93653b1da6200c997f3 to your computer and use it in GitHub Desktop.
Save tabe/770a80216f65c93653b1da6200c997f3 to your computer and use it in GitHub Desktop.
isd2png
set terminal pngcairo
unset logscale x
unset logscale y
unset logscale y2
set ytics nomirror
set y2tics nomirror
plot ARG1 binary format='%9double' skip=539 using 1:4 axes x1y1 with lines title 'P', '' binary format='%9double' skip=539 using 1:6 axes x1y2 with lines title 'E'
ISD_FILES := $(wildcard */out.isd)
PNG_FILES := $(patsubst %.isd,%.png,$(ISD_FILES))
all: $(PNG_FILES)
clean:
-rm -f $(PNG_FILES)
%.png: %.isd isd2png.plt
@echo $@
gnuplot -persist -c isd2png.plt $< > $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment