1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3
<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
5
<title>GNU Octave: Introduction to Plotting</title>
7
<meta name="description" content="GNU Octave: Introduction to Plotting">
8
<meta name="keywords" content="GNU Octave: Introduction to Plotting">
9
<meta name="resource-type" content="document">
10
<meta name="distribution" content="global">
11
<meta name="Generator" content="makeinfo">
12
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
13
<link href="index.html#Top" rel="start" title="Top">
14
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
15
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
16
<link href="Plotting.html#Plotting" rel="up" title="Plotting">
17
<link href="High_002dLevel-Plotting.html#High_002dLevel-Plotting" rel="next" title="High-Level Plotting">
18
<link href="Plotting.html#Plotting" rel="prev" title="Plotting">
19
<style type="text/css">
21
a.summary-letter {text-decoration: none}
22
blockquote.smallquotation {font-size: smaller}
23
div.display {margin-left: 3.2em}
24
div.example {margin-left: 3.2em}
25
div.indentedblock {margin-left: 3.2em}
26
div.lisp {margin-left: 3.2em}
27
div.smalldisplay {margin-left: 3.2em}
28
div.smallexample {margin-left: 3.2em}
29
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
30
div.smalllisp {margin-left: 3.2em}
31
kbd {font-style:oblique}
32
pre.display {font-family: inherit}
33
pre.format {font-family: inherit}
34
pre.menu-comment {font-family: serif}
35
pre.menu-preformatted {font-family: serif}
36
pre.smalldisplay {font-family: inherit; font-size: smaller}
37
pre.smallexample {font-size: smaller}
38
pre.smallformat {font-family: inherit; font-size: smaller}
39
pre.smalllisp {font-size: smaller}
40
span.nocodebreak {white-space:nowrap}
41
span.nolinebreak {white-space:nowrap}
42
span.roman {font-family:serif; font-weight:normal}
43
span.sansserif {font-family:sans-serif; font-weight:normal}
44
ul.no-bullet {list-style: none}
51
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
52
<a name="Introduction-to-Plotting"></a>
55
Next: <a href="High_002dLevel-Plotting.html#High_002dLevel-Plotting" accesskey="n" rel="next">High-Level Plotting</a>, Up: <a href="Plotting.html#Plotting" accesskey="u" rel="up">Plotting</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
58
<a name="Introduction-to-Plotting-1"></a>
59
<h3 class="section">15.1 Introduction to Plotting</h3>
61
<p>Earlier versions of Octave provided plotting through the use of
62
gnuplot. This capability is still available. But, a newer plotting
63
capability is provided by access to OpenGL. Which plotting system
64
is used is controlled by the <code>graphics_toolkit</code> function.
65
See <a href="Graphics-Toolkits.html#Graphics-Toolkits">Graphics Toolkits</a>.
67
<p>The function call <code>graphics_toolkit ("fltk")</code> selects the
68
FLTK/OpenGL system, and <code>graphics_toolkit ("gnuplot")</code> selects the
69
gnuplot system. The two systems may be used selectively through the use
70
of the <code>graphics_toolkit</code> property of the graphics handle for each
71
figure. This is explained in <a href="Graphics-Data-Structures.html#Graphics-Data-Structures">Graphics Data Structures</a>.
72
<strong>Caution:</strong> The FLTK toolkit uses single precision variables internally
73
which limits the maximum value that can be displayed to approximately
74
<em>10^{38}</em>. If your data contains larger values you must use the gnuplot
75
toolkit which supports values up to <em>10^{308}</em>.