How to shift pcolor plot upwards on a 3d scatter plot?
2 次查看(过去 30 天)
显示 更早的评论
I have created a 3D scatter plot and I want my pcolor plot at a location at some height for the z axis. But I can only see it on the XY plane with no shift in Z axis possible. Could anyone suggest a method to shift the pcolor plot to any location along the z axis?
0 个评论
采纳的回答
Walter Roberson
2017-2-7
In R2014b and later,
h = pcolor(....);
h.ZData = TheConstantZ + h.ZData; %it starts out all 0 of the right size so adding gets a constant of the right size
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!