Created
May 3, 2021 02:41
-
-
Save icaoberg/31cef33c3f2d7400fc75e4547f5d41a0 to your computer and use it in GitHub Desktop.
GNUplot example script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set terminal pngcairo transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 | |
set output 'image.png' | |
set key outside right top vertical Right noreverse enhanced autotitle nobox | |
set title "plot with filledcurve [options]" | |
set xrange [ * : * ] noreverse writeback | |
set x2range [ * : * ] noreverse writeback | |
set yrange [ * : * ] noreverse writeback | |
set y2range [ * : * ] noreverse writeback | |
set zrange [ * : * ] noreverse writeback | |
set cbrange [ * : * ] noreverse writeback | |
set rrange [ * : * ] noreverse writeback | |
NO_ANIMATION = 1 | |
plot [-10:10] [-5:3] 1.5+sin(x)/x with filledcurve x2, sin(x)/x with filledcurve, 1+sin(x)/x with lines, -1+sin(x)/x with filledcurve y1=-2, -2.5+sin(x)/x with filledcurve xy=-5,-4., -4.3+sin(x)/x with filledcurve x1, (x>3.5 ? x/3-3 : 1/0) with filledcurve y2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment