~ubuntu-branches/ubuntu/wily/octave/wily

« back to all changes in this revision

Viewing changes to doc/interpreter/plot.texi

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot
  • Date: 2013-05-14 12:42:41 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130514124241-dqow8bc0l4r3yj93
Tags: 3.6.4-2
* Adapt for Texinfo 5
  - add_info_dir_categories: use @dircategory in the patch
  - texinfo5.diff: new patch, fixes compatibility issues with Texinfo 5
* Upgrade to FLTK 1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@c DO NOT EDIT!  Generated automatically by munge-texi.
 
1
@c DO NOT EDIT!  Generated automatically by munge-texi.pl.
2
2
 
3
3
@c Copyright (C) 1996-2012 John W. Eaton
4
4
@c
2204
2204
p = patch ("Faces", f, "Vertices", v, "EdgeColor", "none");
2205
2205
set (gca, "PlotBoxAspectRatioMode", "manual", ...
2206
2206
          "PlotBoxAspectRatio", [1 1 1]);
2207
 
 set (p, "FaceColor", "green", "FaceLighting", "phong");
2208
 
 light ("Position", [1 1 5]); # Available with the JHandles package
 
2207
# set (p, "FaceColor", "green", "FaceLighting", "phong");
 
2208
# light ("Position", [1 1 5]); # Available with the JHandles package
2209
2209
 
2210
2210
subplot (2,2,2); view (-38, 20);
2211
2211
p = patch ("Faces", f, "Vertices", v, "EdgeColor", "blue");
2212
2212
set (gca, "PlotBoxAspectRatioMode", "manual", ...
2213
2213
          "PlotBoxAspectRatio", [1 1 1]);
2214
 
 set (p, "FaceColor", "none", "FaceLighting", "phong");
2215
 
 light ("Position", [1 1 5]);
 
2214
# set (p, "FaceColor", "none", "FaceLighting", "phong");
 
2215
# light ("Position", [1 1 5]);
2216
2216
 
2217
2217
subplot (2,2,3); view (-38, 20);
2218
2218
[f, v, c] = isosurface (x, y, z, c, iso, y);
2220
2220
           "FaceColor", "interp", "EdgeColor", "none");
2221
2221
set (gca, "PlotBoxAspectRatioMode", "manual", ...
2222
2222
          "PlotBoxAspectRatio", [1 1 1]);
2223
 
 set (p, "FaceLighting", "phong");
2224
 
 light ("Position", [1 1 5]);
 
2223
# set (p, "FaceLighting", "phong");
 
2224
# light ("Position", [1 1 5]);
2225
2225
 
2226
2226
subplot (2,2,4); view (-38, 20);
2227
2227
p = patch ("Faces", f, "Vertices", v, "FaceVertexCData", c, ...
2228
2228
           "FaceColor", "interp", "EdgeColor", "blue");
2229
2229
set (gca, "PlotBoxAspectRatioMode", "manual", ...
2230
2230
          "PlotBoxAspectRatio", [1 1 1]);
2231
 
 set (p, "FaceLighting", "phong");
2232
 
 light ("Position", [1 1 5]);
 
2231
# set (p, "FaceLighting", "phong");
 
2232
# light ("Position", [1 1 5]);
2233
2233
@end smallexample
2234
2234
 
2235
2235
@seealso{@ref{doc-isonormals,,isonormals}, @ref{doc-isocolors,,isocolors}}