avatar
Re: matlab作图问题# EE - 电子工程
d*l
1
1. Use subplot(121), plot(....) to plot one sub-figure (A);
2. Use subplot(122), plot(...) to plot another sub-figure (B);
3. Cut subfigure A and paste it back so that you can move it using mouse
manually. Then move its position as you wanted.
4. Do the same thing to sub-figure B.
5. Produce sub-figure (C) (subplot(121), plot(....) in another figure);
then cut it and paste it to the first figure;
6. Adjust the positions of sub-figures A B C to remove the gap between them.
Don't know the answe
avatar
a*z
2
hehe,no need to be so troublesome,
in the figure window:
1.Tool->move->move horize...
2.move the subfigure you want.
for the second question:
use get(gcf)toget current handle.
modifithe property of "position"
Thanks any way.

【在 d*****l 的大作中提到】
: 1. Use subplot(121), plot(....) to plot one sub-figure (A);
: 2. Use subplot(122), plot(...) to plot another sub-figure (B);
: 3. Cut subfigure A and paste it back so that you can move it using mouse
: manually. Then move its position as you wanted.
: 4. Do the same thing to sub-figure B.
: 5. Produce sub-figure (C) (subplot(121), plot(....) in another figure);
: then cut it and paste it to the first figure;
: 6. Adjust the positions of sub-figures A B C to remove the gap between them.
: Don't know the answe

avatar
d*u
3
你可真会省标题, 一标题多问题.
用自己的colormap就行了. 要啥颜色就啥颜色, 要红就红, 要黑就黑, 自己设,
没有比这更爽的了.
T=
0 0 3 3 3
1 3 2 2 1
3 0 0 0 1
1 1 1 0 0
0 0 3 3 2
mymap =
0 0 0 deep black;
0.3500 0.3500 0.3500 deep gray;
0.5500 0.5500 0.5500 gray;
1.0000 1.0000 1.0000 white;
subimage(T/3);
colormap(mymap);

【在 a*z 的大作中提到】
: hehe,no need to be so troublesome,
: in the figure window:
: 1.Tool->move->move horize...
: 2.move the subfigure you want.
: for the second question:
: use get(gcf)toget current handle.
: modifithe property of "position"
: Thanks any way.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。