X11 display and change figure position

3 ビュー (過去 30 日間)
Shih-Nan
Shih-Nan 2013 年 7 月 5 日
コメント済み: Justin Winokur 2015 年 5 月 14 日
Hi all, I would like to change the position/size of a figure and then print it to an eps file, but I found I cannot change the figure size on Mac OS X 10.8.
Here is what I did:
Local machine: iMac (with OS 10.8) Remote server: ubuntu (matlab R2010a)
1. ssh -X user@remote-server
2. launch matlab without desktop (matlab -nodesktop)
3. make a plot
4. adjust position by
set(gcf,'position',[0 0 400 400]);
I changed the width and height. The figure on display was not changed.
* I think this has something to do with the fact that Mac Mountain Lion does not support X11 (now I use xquartz instead), and the X window display is not set properly.
Does anybody encounter similar problem? Any suggestion/solution is highly appreciated.
  3 件のコメント
Doug
Doug 2013 年 10 月 16 日
Update: a test shows the same problem when connecting from a machine running Mac OS 10.6.8, which uses X11 (not XQuartz). Same problem again on a remote connection running with the Matlab Desktop. Can anybody help?
Justin Winokur
Justin Winokur 2015 年 5 月 14 日
I am having the same issue both with 2014a and 2014b (with the new graphics engine). I have not been able to figure it out and this is the only other post about it on the web that I have seen other than my own I made on Reddit

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by