d*****l 发帖数: 8441 | 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 | a*z 发帖数: 141 | 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
| d****u 发帖数: 8 | 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.
|
|