|
From: Zhong R. <re...@uc...> - 2010-05-12 15:14:12
|
Hi, My data are missing some grid points, but pm3d handles them nicely when plotting a 3D colored surface, including the mesh. The missing data cause some triangles on the edge of the surface, which is nice. Now, I would like to draw the mesh only without the filled color using "with lines". This can only be done when the data are complete. Any missing grid point will make the mesh into a set of lines. How do I solve this problem? Here is the example: set pm3d at s explicit ftriangles hidden3d 2 splot '-' u 1:2:4 w l, '-' u 1:2:5:6 w pm3d 12 105 39 0 0.00157429 0.00157429 13 105 39 0 0.00188351 0.00188351 14 105 39 0 0.00189598 0.00189598 # 15 105 39 0 0.00159423 0.00159423 12 106 39 0 0.00212279 0.00212279 13 106 39 0 0.00264768 0.00264768 14 106 39 0 0.00267096 0.00267096 15 106 39 0.943169 0.00217345 -0.940996 12 107 39 0 0.00243417 0.00243417 13 107 39 0.482842 0.00307471 -0.479767 14 107 39 0.773999 0.0030999 -0.770899 15 107 39 0.893751 0.00249588 -0.891255 12 108 39 0.370829 0.00226043 -0.368569 13 108 39 0.713331 0.00283619 -0.710495 14 108 39 0.796778 0.0028588 -0.793919 15 108 39 0.567752 0.00231596 -0.565436 e 12 105 39 0 0.00157429 0.00157429 13 105 39 0 0.00188351 0.00188351 14 105 39 0 0.00189598 0.00189598 15 105 39 0 0.00159423 0.00159423 12 106 39 0 0.00212279 0.00212279 13 106 39 0 0.00264768 0.00264768 14 106 39 0 0.00267096 0.00267096 # 15 106 39 0.943169 0.00217345 -0.940996 12 107 39 0 0.00243417 0.00243417 13 107 39 0.482842 0.00307471 -0.479767 14 107 39 0.773999 0.0030999 -0.770899 15 107 39 0.893751 0.00249588 -0.891255 12 108 39 0.370829 0.00226043 -0.368569 13 108 39 0.713331 0.00283619 -0.710495 14 108 39 0.796778 0.0028588 -0.793919 15 108 39 0.567752 0.00231596 -0.565436 e Zhong |