how to remove the gap between subsequent plots
이전 댓글 표시
Hello guys, I am trying to plot the a set of vectors (V) over of another set of vectors (O) in way similar to plotmatrix. I had a look on its source code at http://www-2.nersc.no/~even/matlab/toolbox/specgraph/plotmatrix.m but it was not very helpful. So, I decided to create my own version. I believe that I have nearly get there, but I miss two things. It is a figure of many subplots. See the picture: http://i289.photobucket.com/albums/ll232/veroulacs/untitled.png
- How can I remove the "gaps" between the plots? I have deleted the X and Y TickLabels by using set(gca,'YTickLabel','') and set(gca,'YTickLabel','') but my guess is that there exists some other type of object or margin between each plot. I want to make the assembly more compact.
- Although I specify the x and y axis range by using axis( [VARIABLES_LOWER(var) VARIABLES_UPPER(var) OBJECTIVES_LOWER(obj) OBJECTIVES_UPPER(obj)]); on EACH plot, matlab automatically uses different ticks for the axis, not the same ones with the aforementioned axis. I want the ticks to be set as the axis. E.g. plot (3,1), the range of xticks should be between 5500 and 6100
Any ideas/suggestions/recommendations are more than welcome and highly appreciated
Thanx for reading and your time C.T.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Axis Labels에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!