3D volumetric plot with associated contour projections

1 view (last 30 days)
Hello,
I have 3D data that I am trying to visualize. Currently, I have a fairly decent representation of the data (attached figure and code that is used to generate the figure). What I would like to do now is to add to it 3 contour projections - one for each plane (xy at z=0, yz at x=x_max and xy at y=y_max). Can anyone suggest some ways about doing this? Maybe I am missing some function that can easily do this (kind of like surfc but with the added functionality to specify contour projection orientation).
Thank you !
Michael.
  1 Comment
Mike Jaroszewicz
Mike Jaroszewicz on 12 Feb 2020
Screen Shot 2020-02-12 at 8.03.39 PM.png
figure()
lvls = [0.1:0.05:1];
h = contourslice(R1Rates,Freq,R2Rates,RatesDistributionUnStacked,[],[-100:3:100],[],lvls);
axis([10,max(R1Rates),-100,100,10,max(R2Rates)]); daspect([1,1,1])
set(gca, 'XScale', 'log');
set(gca, 'YScale', 'linear');
set(gca, 'ZScale', 'log');
camva(10.91); camproj perspective;
set(gcf,'Color',[.5,.5,.5],'Renderer','zbuffer')
set(gca,'Color','black','XColor','white', ...
'YColor','white','ZColor','white')
box on

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!