~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/eng/graphics/grayplot_properties.xml

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
 
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
 
3
<MAN>
 
4
  <LANGUAGE>eng</LANGUAGE>
 
5
  <TITLE>grayplot_properties</TITLE>
 
6
  <TYPE>Scilab Data type</TYPE>
 
7
  <DATE> 2002</DATE>
 
8
  <SHORT_DESCRIPTION name="grayplot_properties"> description of the
 
9
   grayplot entities properties</SHORT_DESCRIPTION>
 
10
  <DESCRIPTION>
 
11
    <P>
 
12
  The Grayplot entity is a leaf of the graphics entities hierarchy. It
 
13
  represents 2D plots of surface using colors and images (see
 
14
  <VERB>Xgrayplot</VERB>, <VERB>Matplot</VERB> and
 
15
  <VERB>Matplot1</VERB>).
 
16
  </P>
 
17
    <DESCRIPTION_INDENT>
 
18
      <DESCRIPTION_ITEM label="visible: ">
 
19
        <SP>This field contains the  <VERB>visible</VERB> property value
 
20
   for the entity . It should
 
21
   be <VERB>&quot;on&quot; </VERB> or <VERB>&quot;off&quot;</VERB> . By default, 
 
22
   the plot is visible, the value's property is  <VERB>&quot;on&quot;
 
23
   </VERB>. If <VERB>&quot;off&quot;</VERB> the plot is not drawn on the screen.</SP>
 
24
      </DESCRIPTION_ITEM>
 
25
      <DESCRIPTION_ITEM label="data: ">
 
26
        <SP>This is a matrix (n1,n2) which constitue the coordinates of a 2D 
 
27
    plots of surface.</SP>
 
28
      </DESCRIPTION_ITEM>
 
29
      <DESCRIPTION_ITEM label="data_mapping: ">
 
30
        <SP>By default the value of this property <VERB>&quot;scaled&quot;</VERB>, the indices of
 
31
     painting colors are proportional to the value <VERB>z</VERB>
 
32
     coordinates. In another case the property take as value <VERB>&quot;direct&quot;</VERB> 
 
33
     where the plot is a grayplot and the indices of painting colors are
 
34
     given by the data.</SP>
 
35
      </DESCRIPTION_ITEM>
 
36
      <DESCRIPTION_ITEM label="parent: ">
 
37
        <SP>This property contains the handle of the parent. The parent of the grayplot (Matplot)
 
38
      entity should be of the type <VERB>&quot;Axes&quot;</VERB>.</SP>
 
39
      </DESCRIPTION_ITEM>
 
40
    </DESCRIPTION_INDENT>
 
41
  </DESCRIPTION>
 
42
  <EXAMPLE>
 
43
<![CDATA[
 
44
   set("figure_style","new") //create a figure
 
45
 
 
46
 
 
47
   m=5;n=5;
 
48
   M=round(32*rand(m,n));
 
49
   grayplot(1:m,1:n,M)
 
50
 
 
51
   a=get("current_axes");
 
52
   a.data_bounds=  [-1,-1;7,7]
 
53
   h=a.children
 
54
 
 
55
   h.data_mapping="direct";
 
56
   
 
57
   // A 2D ploting of a matrix using colors 
 
58
   xbasc()
 
59
   a=get("current_axes");
 
60
   a.data_bounds=  [0,0;4,4];
 
61
  
 
62
   b=5*ones(11,11); b(2:10,2:10)=4; b(5:7,5:7)=2;
 
63
   Matplot1(b,[1,1,3,3])  ;
 
64
  
 
65
   h=a.children
 
66
   for i=1:7
 
67
    xclick(); // click the mouse to sets Matplot data
 
68
    h.data=h.data+4;
 
69
   end
 
70
   
 
71
 
 
72
 ]]>
 
73
  </EXAMPLE>
 
74
  <SEE_ALSO>
 
75
    <SEE_ALSO_ITEM>
 
76
      <LINK>set</LINK>
 
77
    </SEE_ALSO_ITEM>
 
78
    <SEE_ALSO_ITEM>
 
79
      <LINK>get</LINK>
 
80
    </SEE_ALSO_ITEM>
 
81
    <SEE_ALSO_ITEM>
 
82
      <LINK>delete</LINK>
 
83
    </SEE_ALSO_ITEM>
 
84
    <SEE_ALSO_ITEM>
 
85
      <LINK>grayplot</LINK>
 
86
    </SEE_ALSO_ITEM>
 
87
    <SEE_ALSO_ITEM>
 
88
      <LINK>Matplot</LINK>
 
89
    </SEE_ALSO_ITEM>
 
90
    <SEE_ALSO_ITEM>
 
91
      <LINK>Matplot1</LINK>
 
92
    </SEE_ALSO_ITEM>
 
93
    <SEE_ALSO_ITEM>
 
94
      <LINK>graphics_entities</LINK>
 
95
    </SEE_ALSO_ITEM>
 
96
  </SEE_ALSO>
 
97
  <AUTHOR>Djalel ABDEMOUCHE</AUTHOR>
 
98
</MAN>