|
From: | William Krekeler |
Subject: | RE: eval(sprintf("title('Ar-Beam(TC%iarBeam%i), %i')", nMessreihe, uu, NameCellstr[rr])) doesn't work, but why ? |
Date: | Wed, 17 Nov 2010 15:49:35 +0000 |
It is not clear to me why you are using eval? Many of the
commands you are trying can be done without using eval. Example: figure( uu); % get the desired figure creates if
non-existent xlabel( sprintf( ‘label %d’, rr ) ); % set xlabe to
label rr where rr is a number Removing the eval may simplify the code. Also, you may have to
map your namecellstr to a character array and use the %s format input to
sprintf. You can use figure(number) to assign current figure focus to
figure(number) and then gcf will refer to figure(number) for all variables
changed. You can use the print command to save plots as images. Not sure
what the octave equivalent to Matlab’s hgsave is to save as editable
figures. Hope some of that helped. Bill Krekeler From: Sina Calmote
[mailto:address@hidden
|
[Prev in Thread] | Current Thread | [Next in Thread] |