Can someone help me change the properties of this subplot?
2 ビュー (過去 30 日間)
古いコメントを表示
I used a loop to graph 192 subplots in a 8x24 grid.
I want to change the line color of data in a few subplots in the first row. How can this be done?
Basically, I am having trouble changing the properties of a subplot that has already been graphed...
2 件のコメント
Daniel Shub
2012 年 8 月 7 日
Can you provide some simplified code showing your you generate your plots.
回答 (2 件)
Seyhan Emre Gorucu
2012 年 8 月 7 日
A hint for you: Change the properties you want graphically. Then, go to file->generate code. This way, you can have the code to have the plot you want and you can repeat the same code for the other plots without having to change one by one.
0 件のコメント
Sean de Wolski
2012 年 8 月 7 日
figure;
for ii = 3:-1:1
subplot(1,3,ii);
h(ii) = plot(rand(1,10)); %store iith line handle
end
%Change second line to red
set(h(2),'color','r');
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!