在这种情况下,没有x y轴的数值,
不能使用平铺布局('flow')。
使用平铺布局与pde工具箱绘图功能pdegplot?
8次浏览(过去30天)
显示旧的注释
我试图使用新的平铺布局绘图功能与绘图功能在pde工具箱。下面是我的示例代码。
第一个图很好,但是第二个在平铺布局中给出了关于未定义的颜色的错误。
有办法解决这个问题吗,还是我只需要回到次要情节?谢谢!
Thermalmodel = createpde(“热”,瞬态的);初始化模型
%定义几何
Gm = multicuboid(10,10,10);
thermalmodel。几何= gm;%分配几何模型
generateMesh (thermalmodel);%生成网格
%这很好
数字
pdegplot (thermalmodel“FaceAlpha”, 0.25,“CellLabel”,“上”)
%这将给出错误
数字
tiledlayout (“流”)
nexttile
pdegplot (thermalmodel“FaceAlpha”, 0.25,“CellLabel”,“上”)