From: Varun Boriah on 3 Aug 2010 18:09 Hi Im trying to plot data that is store in the Serial Date Number format. Once plotted I would like to change the format to mm/dd HH:MM. The line of code that I'm using reads as follows: datetick('x', 'mm/dd HH:MM', 'keeplimits', 'keepticks'); Unfortunately I get the following error: ??? Error using ==> datetick at 143 Unknown date format: mm/dd HH:MM Error in ==> Plotter at 33 datetick('x', 'mm/dd HH:MM, 'keeplimits', 'keepticks'); If i switch the date format to one that has a predefined Date Format Number, the code executes seamlessly. Any thoughts? Thanks!
From: Walter Roberson on 3 Aug 2010 18:14 Varun Boriah wrote: > Im trying to plot data that is store in the Serial Date Number format. > Once plotted I would like to change the format to mm/dd HH:MM. The line > of code that I'm using reads as follows: > > datetick('x', 'mm/dd HH:MM', 'keeplimits', 'keepticks'); > > Unfortunately I get the following error: > > ??? Error using ==> datetick at 143 > Unknown date format: mm/dd HH:MM I do not see that problem in 2008b when I try that. I suggest you search the bug reports.
From: TideMan on 3 Aug 2010 18:30 On Aug 4, 10:09 am, "Varun Boriah" <vbor...(a)arkalmedical.com> wrote: > Hi > > Im trying to plot data that is store in the Serial Date Number format. Once plotted I would like to change the format to mm/dd HH:MM. The line of code that I'm using reads as follows: > > datetick('x', 'mm/dd HH:MM', 'keeplimits', 'keepticks'); > > Unfortunately I get the following error: > > ??? Error using ==> datetick at 143 > Unknown date format: mm/dd HH:MM > > Error in ==> Plotter at 33 > datetick('x', 'mm/dd HH:MM, 'keeplimits', 'keepticks'); > > If i switch the date format to one that has a predefined Date Format Number, the code executes seamlessly. > > Any thoughts? > > Thanks! I think you're telling fibs. What you told us was the line of code is different from the line of code Matlab quotes in the error message, where it appears that you have omitted the apostrophe closing the date format string.
From: Varun Boriah on 4 Aug 2010 20:09 I may have inadvertently omitted the apostrophe when copying the text! TideMan <mulgor(a)gmail.com> wrote in message <2b22aa05-0e7c-48b8-9918-82745b6b5c48(a)v32g2000prd.googlegroups.com>... > On Aug 4, 10:09 am, "Varun Boriah" <vbor...(a)arkalmedical.com> wrote: > > Hi > > > > Im trying to plot data that is store in the Serial Date Number format. Once plotted I would like to change the format to mm/dd HH:MM. The line of code that I'm using reads as follows: > > > > datetick('x', 'mm/dd HH:MM', 'keeplimits', 'keepticks'); > > > > Unfortunately I get the following error: > > > > ??? Error using ==> datetick at 143 > > Unknown date format: mm/dd HH:MM > > > > Error in ==> Plotter at 33 > > datetick('x', 'mm/dd HH:MM, 'keeplimits', 'keepticks'); > > > > If i switch the date format to one that has a predefined Date Format Number, the code executes seamlessly. > > > > Any thoughts? > > > > Thanks! > > I think you're telling fibs. > What you told us was the line of code is different from the line of > code Matlab quotes in the error message, where it appears that you > have omitted the apostrophe closing the date format string.
|
Pages: 1 Prev: Speed up with integer operations? Next: simulation of energy detection over fading channels |