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

« back to all changes in this revision

Viewing changes to doc/interpreter/octave.html/Three_002dDimensional-Plots.html

  • 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:
351
351
          p = patch ("Faces", f, "Vertices", v, "EdgeColor", "none");
352
352
          set (gca, "PlotBoxAspectRatioMode", "manual", ...
353
353
                    "PlotBoxAspectRatio", [1 1 1]);
354
 
           set (p, "FaceColor", "green", "FaceLighting", "phong");
355
 
           light ("Position", [1 1 5]); # Available with the JHandles package
 
354
          # set (p, "FaceColor", "green", "FaceLighting", "phong");
 
355
          # light ("Position", [1 1 5]); # Available with the JHandles package
356
356
          
357
357
          subplot (2,2,2); view (-38, 20);
358
358
          p = patch ("Faces", f, "Vertices", v, "EdgeColor", "blue");
359
359
          set (gca, "PlotBoxAspectRatioMode", "manual", ...
360
360
                    "PlotBoxAspectRatio", [1 1 1]);
361
 
           set (p, "FaceColor", "none", "FaceLighting", "phong");
362
 
           light ("Position", [1 1 5]);
 
361
          # set (p, "FaceColor", "none", "FaceLighting", "phong");
 
362
          # light ("Position", [1 1 5]);
363
363
          
364
364
          subplot (2,2,3); view (-38, 20);
365
365
          [f, v, c] = isosurface (x, y, z, c, iso, y);
367
367
                     "FaceColor", "interp", "EdgeColor", "none");
368
368
          set (gca, "PlotBoxAspectRatioMode", "manual", ...
369
369
                    "PlotBoxAspectRatio", [1 1 1]);
370
 
           set (p, "FaceLighting", "phong");
371
 
           light ("Position", [1 1 5]);
 
370
          # set (p, "FaceLighting", "phong");
 
371
          # light ("Position", [1 1 5]);
372
372
          
373
373
          subplot (2,2,4); view (-38, 20);
374
374
          p = patch ("Faces", f, "Vertices", v, "FaceVertexCData", c, ...
375
375
                     "FaceColor", "interp", "EdgeColor", "blue");
376
376
          set (gca, "PlotBoxAspectRatioMode", "manual", ...
377
377
                    "PlotBoxAspectRatio", [1 1 1]);
378
 
           set (p, "FaceLighting", "phong");
379
 
           light ("Position", [1 1 5]);
 
378
          # set (p, "FaceLighting", "phong");
 
379
          # light ("Position", [1 1 5]);
380
380
</pre>
381
381
        <!-- Texinfo @sp should work but in practice produces ugly results for HTML. -->
382
382
     <!-- A simple blank line produces the correct behavior. -->