Skip to content

Instantly share code, notes, and snippets.

@Mark-Han
Last active December 10, 2016 06:29
Show Gist options
  • Save Mark-Han/82e6880c7cbd4d33cbbb58cb4b091604 to your computer and use it in GitHub Desktop.
Save Mark-Han/82e6880c7cbd4d33cbbb58cb4b091604 to your computer and use it in GitHub Desktop.
Graphically tests and presents the pdfcario terminal in gnuplot 5.0.3
# running it by "gnuplot testPDF.plt"
# the defualt termimal type for gnuplot is qt on my Ubuntu
# a `test` command will graphically gives the configuration info in a separatee window
# but for other terminals, e.g., pdf, the `test` command will bring a bunch of characotors
# (including mess code) in Terminal
# the right way is that we should output the configure info to a pdf file
# this gist will help us to do this
# you will see there exist great difference between the pdf and defaut qt terminal
# the line styles, font sizes, symbols, etc.
# set the terminal type to pdfcario
set term pdf
# set the results to file
set output "test.pdf"
# generate test info
test
# write the test info to a pdf file
set output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment