Pre-Calc Exam Notes 158

Pre-Calc Exam Notes 158 - 158 Appendix B: Graphing with...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
158 Appendix B: Graphing with Gnuplot In Linux you would do this: set terminal wxt enhanced You can then (provided the Symbol font is installed, which it usually is) set the x -axis to have multiples of π /2 from 0 to 2 π as labels with this command: set xtics (’0’ 0,’{/Symbol p}/2’ pi/2,’{/Symbol p}’ pi,’3{/Symbol p}/2’ 3*pi/2, ’2{/Symbol p}’ 2*pi) In the above example, to also plot the function y = cos 2 x + sin 3 x on the same graph, put a comma after the Frst function then append the new function: plot [0:2*pi] sin(x), cos(2*x) + sin(3*x)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.
Ask a homework question - tutors are online