From: Assaf Weinstein on 5 Jul 2010 09:53 Hi, I encounter a problem when I 'manually' annotate a plot with the Plot Tools, and then use exportfig() to set the properties of my figure: exportfig(gcf,'pic3.eps', 'width',6, 'fontmode','fixed', 'fontsize',8). After I use exportfig(), the LOCATIONS of the texboxes I used are totally distorted, rather than stay at the same relative location in the figure.. Does this happen because I use the plot tool to add the texbox instead of programatically add it (in code)? Thank you, Asaf
From: us on 5 Jul 2010 13:03 "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <i0so3v$j4a$1(a)fred.mathworks.com>... > Hi, > > I encounter a problem when I 'manually' annotate a plot with the Plot Tools, and then use exportfig() to set the properties of my figure: > > exportfig(gcf,'pic3.eps', 'width',6, 'fontmode','fixed', 'fontsize',8). > > After I use exportfig(), the LOCATIONS of the texboxes I used are totally distorted, rather than stay at the same relative location in the figure.. Does this happen because I use the plot tool to add the texbox instead of programatically add it (in code)? > > Thank you, > > Asaf it looks as if the ANNOTATION's parent axis, which is NOT the same as GCA, for instance, is changed during processing in EXPORTFIG, which i don't have... see this recent thread for a demo... http://www.mathworks.com/matlabcentral/newsreader/view_thread/286172#759980 us
From: Assaf Weinstein on 6 Jul 2010 04:23 "us " <us(a)neurol.unizh.ch> wrote in message <i0t388$hr2$1(a)fred.mathworks.com>... > "Assaf Weinstein" <assafweinstein_remove.this(a)gmail.com> wrote in message <i0so3v$j4a$1(a)fred.mathworks.com>... > > Hi, > > > > I encounter a problem when I 'manually' annotate a plot with the Plot Tools, and then use exportfig() to set the properties of my figure: > > > > exportfig(gcf,'pic3.eps', 'width',6, 'fontmode','fixed', 'fontsize',8). > > > > After I use exportfig(), the LOCATIONS of the texboxes I used are totally distorted, rather than stay at the same relative location in the figure.. Does this happen because I use the plot tool to add the texbox instead of programatically add it (in code)? > > > > Thank you, > > > > Asaf > > it looks as if the ANNOTATION's parent axis, which is NOT the same as GCA, for instance, is changed during processing in EXPORTFIG, which i don't have... > > see this recent thread for a demo... > > http://www.mathworks.com/matlabcentral/newsreader/view_thread/286172#759980 > > us Hi, what you wrote - "it looks as if the ANNOTATION's parent axis, which is NOT the same as GCA" - makes most sense to me; Can I make them cling to same axis?.. (Im having a lot of trouble with this... sorry) Thanks, Asaf
|
Pages: 1 Prev: Java Bean Event Listener Callback Problem Next: Displaying a table |