The text files contains Date&Time and some values. Please look in the attachments. I need to plot Second column with Date&Time. I see that the plot is random not as I needed. Here is the code I wrote:
fid = fopen(filename,'r');Data = textscan(fid,'%s %s','Headerlines',1,'delimiter','\t');fclose(fid);DT = datenum(Data{1});y = cellfun(@str2double,Data{2});plot(DT,y,'-*');datetick('x','dd.mm.yyyy HH:MM');
I cannot even see the right Date and Time on x axis. How can I make it clearly visible to the users? Is there any way to display xtick vertically?
Best Answer