Mathematica中文论坛-非官方

标题: 豆粑粑 matlab surf transparent with value [打印本页]

作者: meatball1982    时间: 2020-5-19 11:04
标题: 豆粑粑 matlab surf transparent with value


peaks function to generate x,y,z

  1. clear all
  2. clc


  3. [x,y,z]=peaks(50);
  4. surf(x,y,z,'edgecolor','k',...
  5.             'edgealpha','flat',...
  6.            'AlphaData',abs(z),...
  7.            'FaceColor','interp',...
  8.            'FaceAlpha','interp')
复制代码


fig_trans_face.png (336.19 KB, 下载次数: 1995)

fig_trans_face.png





欢迎光临 Mathematica中文论坛-非官方 (http://ilovemathematica.com/) Powered by Discuz! X3.2