How do you plot the 3-D plot for pcolor style using one matrix with varying one variable along(Z-axis)?

2 views (last 30 days)
I have square matrix called RFM of a size(64*64) and have plotted pcolor for the same shown below. By varying the threshold value h, i will remove the diagonal element (shown below for different values of h),h = [0:0.2:1]. RFM pcolor plot with h=0 RFM pcolor plot with h=0.5
Basically i will be having, RFM1 and h1 , RFM2 and h2,.....RFMn and hn for each pcolor plot in 2d.
I want the 3d plot for the RFM matrix in pcolor style with varying function of the h in Z-axis.It should look each RFM matrix is stacked one above the other? How can i do this in MATLAB? X-axis=Y-axis=matrix dimension(64*64). Z-axis = h = (1*6).

Answers (0)

Categories

Find more on Geographic Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!