Info
This question is closed. Reopen it to edit or answer.
I have two graphs (image below). I want to do a 3-D contour plot which will represent the difference in characteristics of these two graphs.How can I do that? Please help me. Two .mat files are attached.
4 views (last 30 days)
Show older comments
I have plotted following two graphs with this code:

clc
clear
close all
a=importdata('ranu normal.mat');
b=a.data;
x=b(23970:25750,1);
[val, idx] = max(abs(x));
plot(abs(x), 'b-', 'LineWidth', 2);
hold on;
plot(idx,val,'-o','markerfacecolor',[1 0 0]);
grid on;
line([idx, idx], [0, val],...
'LineWidth', 2, 'Color', 'r')
%Next Person
a=importdata('robin roy.mat');
b=a.data;
x=b(22500:24320,1);
[val, idx] = max(abs(x));
figure();
plot(abs(x), 'b-', 'LineWidth', 2);
hold on;
plot(idx,val,'-o','markerfacecolor',[1 0 0]);
grid on;
line([idx, idx], [0, val],...
'LineWidth', 2, 'Color', 'r')
7 Comments
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
