Mercurial > hg > octave-lyh
diff scripts/plot/tetramesh.m @ 16828:ddac88d32d6a
Make demos in plot m-files compatible with Matlab for running comparison script.
* scripts/plot/isosurface.m, scripts/plot/line.m, scripts/plot/mesh.m,
scripts/plot/plotyy.m, scripts/plot/printd.m, scripts/plot/semilogy.m,
scripts/plot/shrinkfaces.m, scripts/plot/stairs.m, scripts/plot/stem.m,
scripts/plot/stemleaf.m, scripts/plot/tetramesh.m: Replace double quote (")
with single quote ('). Use '%' for comment character. Use '...' for
line continuation.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 23 Jun 2013 14:47:05 -0700 |
parents | c2dbdeaa25df |
children | eaab03308c0b |
line wrap: on
line diff
--- a/scripts/plot/tetramesh.m +++ b/scripts/plot/tetramesh.m @@ -126,10 +126,10 @@ %! X = [x(:) y(:) z(:)]; %! colormap (jet (64)); %! h = tetramesh (tetra, X); -%! set (h(1:2:end), "Visible", "off"); +%! set (h(1:2:end), 'Visible', 'off'); %! axis equal; %! view (30, 20); -%! title ("Using jet (64), every other tetrahedron invisible"); +%! title ('Using jet (64), every other tetrahedron invisible'); %!demo %! clf; @@ -141,8 +141,8 @@ %! tetra = delaunay3 (x, y, z); %! X = [x(:) y(:) z(:)]; %! colormap (gray (256)); -%! tetramesh (tetra, X, 21:20:241, "EdgeColor", "w"); +%! tetramesh (tetra, X, 21:20:241, 'EdgeColor', 'w'); %! axis equal; %! view (30, 20); -%! title ("Using gray (256) and white edges"); +%! title ('Using gray (256) and white edges');