~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to doc/interpreter/HTML/Multiple-Plot-Windows.html

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2007-12-23 16:04:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071223160415-n4gk468dihy22e9v
Tags: upstream-3.0.0
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html lang="en">
 
2
<head>
 
3
<title>Multiple Plot Windows - Untitled</title>
 
4
<meta http-equiv="Content-Type" content="text/html">
 
5
<meta name="description" content="Untitled">
 
6
<meta name="generator" content="makeinfo 4.11">
 
7
<link title="Top" rel="start" href="index.html#Top">
 
8
<link rel="up" href="Plotting-Basics.html#Plotting-Basics" title="Plotting Basics">
 
9
<link rel="prev" href="Multiple-Plots-on-One-Page.html#Multiple-Plots-on-One-Page" title="Multiple Plots on One Page">
 
10
<link rel="next" href="Printing-Plots.html#Printing-Plots" title="Printing Plots">
 
11
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
 
12
<meta http-equiv="Content-Style-Type" content="text/css">
 
13
<style type="text/css"><!--
 
14
  pre.display { font-family:inherit }
 
15
  pre.format  { font-family:inherit }
 
16
  pre.smalldisplay { font-family:inherit; font-size:smaller }
 
17
  pre.smallformat  { font-family:inherit; font-size:smaller }
 
18
  pre.smallexample { font-size:smaller }
 
19
  pre.smalllisp    { font-size:smaller }
 
20
  span.sc    { font-variant:small-caps }
 
21
  span.roman { font-family:serif; font-weight:normal; } 
 
22
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
 
23
--></style>
 
24
</head>
 
25
<body>
 
26
<div class="node">
 
27
<p>
 
28
<a name="Multiple-Plot-Windows"></a>
 
29
Next:&nbsp;<a rel="next" accesskey="n" href="Printing-Plots.html#Printing-Plots">Printing Plots</a>,
 
30
Previous:&nbsp;<a rel="previous" accesskey="p" href="Multiple-Plots-on-One-Page.html#Multiple-Plots-on-One-Page">Multiple Plots on One Page</a>,
 
31
Up:&nbsp;<a rel="up" accesskey="u" href="Plotting-Basics.html#Plotting-Basics">Plotting Basics</a>
 
32
<hr>
 
33
</div>
 
34
 
 
35
<h4 class="subsection">15.1.5 Multiple Plot Windows</h4>
 
36
 
 
37
<p>You can open multiple plot windows using the <code>figure</code> function. 
 
38
For example
 
39
 
 
40
<pre class="example">     figure (1);
 
41
     fplot (@sin, [-10, 10]);
 
42
     figure (2);
 
43
     fplot (@cos, [-10, 10]);
 
44
</pre>
 
45
   <p class="noindent">creates two figures, with the first displaying a sine wave and
 
46
the second a cosine wave.  Figure numbers must be positive integers.
 
47
 
 
48
   <p><a name="doc_002dfigure"></a>
 
49
 
 
50
<div class="defun">
 
51
&mdash; Function File:  <b>figure</b> (<var>n</var>)<var><a name="index-figure-852"></a></var><br>
 
52
&mdash; Function File:  <b>figure</b> (<var>n, property, value, <small class="dots">...</small></var>)<var><a name="index-figure-853"></a></var><br>
 
53
<blockquote><p>Set the current plot window to plot window <var>n</var>.  If no arguments are
 
54
specified, the next available window number is chosen.
 
55
 
 
56
        <p>Multiple property-value pairs may be specified for the figure, but they
 
57
must appear in pairs. 
 
58
</p></blockquote></div>
 
59
 
 
60
   </body></html>
 
61