3d plots with patch (10.5.00)

Sandy Yates

I am plotting a function where I need an 100x100 grid for the 3D plot to look reasonable. My problem is that I would like the see the plot with PATCH.

When I plot it with PATCH the patching is so dense that the ZHUE cannot be seen as the plt is very black. Is it possible to plot every second or 3rd PATCH line? Or is there another method to getting a lower PATCH grid compared the to plot grid? (I realize why maple may not want to do that as the line of te patch may cut the surface.)

Robert Israel (11.5.00)

My suggestion would be to combine (using display) a plot using patchnogrid and plots of grid lines. It would be simplest to do the latter using spacecurve, but if you want, you can extract them from the plot structure, e.g. as follows:


John S Robinson (12.5.00)

If I understand correctly, you can get round the problem by combining two plots, as in:


this is all black


this seems OK

Jurgen Barsuhn (15.5.00)

As far as I know there is no possibility to omit selected grid lines. However, you may omit all grid lines by choosing patchnogrid from the style menu (or by including the option style=patchnogrid into the plot3d-statement).

To improve the impression you may include contour lines that may be seen under style-patch and contour. Here you can either choose the number of contour lines or you may specify a list of function values, for which you wish to see contour lines.

An example of a summit and two saddles: