Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
gnuplot Cookbook

You're reading from  gnuplot Cookbook

Product type Book
Published in Feb 2012
Publisher Packt
ISBN-13 9781849517249
Pages 220 pages
Edition 1st Edition
Languages
Author (1):
Lee Phillips Lee Phillips
Profile icon Lee Phillips

Table of Contents (18) Chapters

gnuplot Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Plotting Curves, Boxes, Points, and more Annotating with Labels and Legends Applying Colors and Styles Controlling your Tics Combining Multiple Plots Including Plots in Documents Programming gnuplot and Dealing with Data The Third Dimension Using and Making Graphical User Interfaces Surveying Special Topics Finding Help and Information
Index

Using Unicode characters [new]


A new feature in gnuplot 4.4 allows you to use the Unicode character set in your graph's title and labels. This is a vast improvement over more cumbersome methods of entering special characters, but it does not work on all terminals. For example, PostScript does not support Unicode directly, but some implementations of the pdf and png terminals, and others, will work. The following example was created using the pngcairo version of the png terminal. Which versions you have available will depend on the details of your operating system and gnuplot installation. A more general method for creating complex labels is given in the next recipe.

Getting ready

You will need some method of inputting Unicode characters. There are myriad ways of doing this, depending on your operating system, terminal program, text editor, and so on, and the details are beyond the scope of this book. In order to create the title for this example, incorporating the name of a famous Viking scientist...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}