|
Posted by Rose on February 16, 2008, 11:33 am
Please log in for more thread options
my string containing a number of alphabets is loaded by:
ss= fscanf(ssfid,'%s',[1 inf]);
the xy coordinates are read by:
xy = fscanf(fid,'%d %g ',[2 inf]);
when I try to plot by:
plot ( xy(1,:), xy(2,:) );
set(gca, 'XTick',ss, 'XTickLabel',ss );
all the data clump together but
for ii = 1:size(xy(1,:))
text(xy(1,ii)+0.2,xy(2,ii),ss);
end
does not have the problem. How to solve that? I want to put the ss alphabets
as X tick labels.
|
|
Posted by Rose on February 16, 2008, 11:34 am
Please log in for more thread options
Sorry wrong post here. sorry again
|
| Similar Threads | Posted | | Extracting strings delimited by other strings | May 7, 2005, 11:54 am |
| Is there neq for strings? | June 8, 2005, 9:37 am |
| Joining 2 strings | August 7, 2004, 2:46 pm |
| subtracting strings | October 8, 2004, 9:53 pm |
| sub refs in qq strings | November 8, 2004, 6:03 am |
| dividing strings | March 4, 2005, 11:36 am |
| how to concat two strings into one? | July 8, 2005, 6:13 pm |
| how to find such strings? | July 9, 2005, 4:21 pm |
| strings and numbers | July 30, 2005, 2:28 am |
| strings and numbers | July 30, 2005, 2:27 am |
|