Plotting multiple graph in same graph
古いコメントを表示
I am trying to plot all the graphs of each txt file in one graph. I am using this code but it is plotting them separately. Here is my code..
%Creating a continuous loop which will only stop after reaching j=size(READ,2)
c = 0;
%graphics_toolkit gnuplot
figure('visible','off');hold on
%This lopp will take column 1,3,5,7...............
for j = 1: 2 : size(READ,2)
c = c+1;
clf
x=READ(:,j);
y=READ(:,j+1);
plot(x_0,y_0)
end
hold off
end
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Labels and Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!