Robin Phillips | 4 Jan 2010 14:49

format for reading in date time values in input files

I'm unable to find the answer to this on google or in the mail list
archives (is there any way of searching them or do I really have to
click on each month's entry individually?):

Is kst able to read in dates or time (for use on the x-axis) of a plot
and if so then what is the format. I've tried all sorts of formats
(mostly variants of ISO time format) but am unable to make any of them
work. I see it is possible to tell kst how time is to be displayed on
the x-axis so it seems to know about time in principle.

Thanks

Robin
Andrew Walker | 4 Jan 2010 19:43

Re: format for reading in date time values in input files

Hi Robin,

In the kst 1.x branch if you are using a simple ascii file as your input 
data, then you can enter dates/times in a variety of numeric formats:

Julian Year
Julian Date
Standard C time
etc.

The key is after creating your plot (with the date/time on the x-axis) to 
edit the plot and in the X-axis tab check the "Interpret as" checkbox, and 
then select the relevant selection from the combobox.
You can then select the format of the displayed date/time to be displayed 
from the "Display as" combobox.

This is described in the online documentation at:

http://kst.kde.org/handbook/view-types.html#view-types-plot-xyaxis

If you're going to use this same interpretation extensively you can modify 
the default behaviour from within Kst, using the Settings... Configure 
Kst... menu item.
Then under the General tab, using the same "Interpret as", "Display as", as 
before.

Andrew

----- Original Message ----- 
From: "Robin Phillips" <robin <at> robinphillips.net>
(Continue reading)

netterfield | 4 Jan 2010 23:53
Picon
Picon
Favicon

[Bug 218812] Detection of changed document does not work properly

https://bugs.kde.org/show_bug.cgi?id=218812

netterfield <at> astro.utoronto.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from  <netterfield astro utoronto ca>  2010-01-04 23:51:23 ---
SVN commit 1070123 by netterfield:

BUG: 218812

A couple minor bug fixes:
  -fix changed document detection 
  -Fix 'wait' icon

 M  +0 -13     devel-docs/Kst2Specs/Bugs  
 M  +5 -0      devel-docs/Kst2Specs/FixedBugs  
 M  +1 -1      src/libkstapp/application.cpp  
 M  +1 -1      src/libkstapp/applicationsettings.cpp  
 M  +1 -1      src/libkstapp/datawizard.cpp  
 M  +1 -0      src/libkstapp/document.cpp  
 M  +2 -1      src/libkstapp/mainwindow.cpp  
 M  +1 -1      src/libkstapp/view.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1070123

--

-- 
(Continue reading)

netterfield | 5 Jan 2010 00:51
Picon
Picon
Favicon

[Bug 219848] Shortcut Ctrl + S is KO

https://bugs.kde.org/show_bug.cgi?id=219848

netterfield <at> astro.utoronto.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from  <netterfield astro utoronto ca>  2010-01-05 00:51:28 ---
SVN commit 1070143 by netterfield:

BUG: 219848
Remove overloaded shortcut.

 M  +1 -1      plotitem.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1070143

--

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Barth Netterfield | 5 Jan 2010 01:11
Picon
Picon
Favicon

branches/work/kst/portto4/kst/src/libkstapp

SVN commit 1070147 by netterfield:

BUG: 219847

Minor fixes for loading a file from the command line.

 M  +9 -0      document.cpp  
 M  +7 -0      mainwindow.cpp  

--- branches/work/kst/portto4/kst/src/libkstapp/document.cpp #1070146:1070147
 <at>  <at>  -134,6 +134,8  <at>  <at> 

 bool Document::initFromCommandLine(CommandLineParser *P) {

+  QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
+
   bool ok;
   bool dataPlotted = P->processCommandLine(&ok);

 <at>  <at>  -141,8 +143,15  <at>  <at> 
     QString kstfile = P->kstFileName();
     if (!kstfile.isEmpty()) {
       dataPlotted = open(kstfile);
+
+      if (dataPlotted) {
+        UpdateManager::self()->doUpdates(true);
+        setChanged(false);
+      }
     }
   }
(Continue reading)

netterfield | 5 Jan 2010 01:11
Picon
Picon
Favicon

[Bug 219847] Open file behavior when called from the explorer

https://bugs.kde.org/show_bug.cgi?id=219847

netterfield <at> astro.utoronto.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from  <netterfield astro utoronto ca>  2010-01-05 01:11:50 ---
SVN commit 1070147 by netterfield:

BUG: 219847

Minor fixes for loading a file from the command line.

 M  +9 -0      document.cpp  
 M  +7 -0      mainwindow.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1070147

--

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
netterfield | 5 Jan 2010 02:08
Picon
Picon
Favicon

[Bug 218811] tied zoom icon does not always correspond to the current status

https://bugs.kde.org/show_bug.cgi?id=218811

netterfield <at> astro.utoronto.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netterfield <at> astro.utoronto.
                   |                            |ca

--- Comment #1 from  <netterfield astro utoronto ca>  2010-01-05 02:08:10 ---
The current behavior is clearly wrong.  However, the correct behavior is not
entirely clear: the 'Tied Zoom' indicators are actually active, so you can just
tie some of them by clicking on them.  In that case, what should the tool-bar
toggle do?

I think that the Toolbar icon should be a pushbutton, not a toggle, and will
either set all of the tied zoom indicators, or unset them all, depending on if
there are more tied or un-tied plots in the current view.

(There is also the issue that the tied zoom indicators don't look pushable...
but that is a different story.)

Thoughts?

--

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Robin Phillips | 5 Jan 2010 20:09

Re: format for reading in date time values in input files

Hi Andrew,

Thanks for the quick reply. Now that you've said it I suppose this is
obvious - I read the pages in the online documentation and saw the part
about defining the output but couldn't get it to read in my data since
that is in ISO date time format - but that's easy enough to change...

Maybe the documentation could make this more explicit though (ie. that
time data has to be in one of the listed formats). 

Thanks again for your help,

Robin

On Mon, 2010-01-04 at 10:43 -0800, Andrew Walker wrote: 
> Hi Robin,
> 
> In the kst 1.x branch if you are using a simple ascii file as your input 
> data, then you can enter dates/times in a variety of numeric formats:
> 
> Julian Year
> Julian Date
> Standard C time
> etc.
> 
> The key is after creating your plot (with the date/time on the x-axis) to 
> edit the plot and in the X-axis tab check the "Interpret as" checkbox, and 
> then select the relevant selection from the combobox.
> You can then select the format of the displayed date/time to be displayed 
> from the "Display as" combobox.
(Continue reading)

Barth Netterfield | 6 Jan 2010 17:42
Picon
Picon
Favicon

branches/work/kst/portto4/kst

SVN commit 1070733 by netterfield:

Improve font size in multi-tab datawizard generated plots
Add 'New' action.
Add change sample range and change datasource icons to the toolbar
Add create [curve/psd/equation/histograms/image/spectogram] to the Data menue

BUG: 219852

 M  +0 -6      devel-docs/Kst2Specs/Wishlist  
 M  +7 -4      src/libkstapp/datawizard.cpp  
 M  +76 -0     src/libkstapp/mainwindow.cpp  
 M  +17 -0     src/libkstapp/mainwindow.h  
 M  +22 -18    src/libkstmath/csd.cpp  

--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Wishlist #1070732:1070733
 <at>  <at>  -74,12 +74,6  <at>  <at> 

 --------------------

-When looking at dirfile data, if the symlink changes, kst doesn't notice
-and one has to hit reload to get it to update.  This is annoying at
-best.
-
---------------------
-
 Perhaps unrelated to kst, but the new symbolic link name in defile
 (replacing the defile.cur indirect file) is retarded.  It slows me down
 and the double extension is pointless.  
--- branches/work/kst/portto4/kst/src/libkstapp/datawizard.cpp #1070732:1070733
(Continue reading)

netterfield | 6 Jan 2010 17:42
Picon
Picon
Favicon

[Bug 219852] Adding a "new" command

https://bugs.kde.org/show_bug.cgi?id=219852

netterfield <at> astro.utoronto.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from  <netterfield astro utoronto ca>  2010-01-06 17:42:28 ---
SVN commit 1070733 by netterfield:

Improve font size in multi-tab datawizard generated plots
Add 'New' action.
Add change sample range and change datasource icons to the toolbar
Add create [curve/psd/equation/histograms/image/spectogram] to the Data menue

BUG: 219852

 M  +0 -6      devel-docs/Kst2Specs/Wishlist  
 M  +7 -4      src/libkstapp/datawizard.cpp  
 M  +76 -0     src/libkstapp/mainwindow.cpp  
 M  +17 -0     src/libkstapp/mainwindow.h  
 M  +22 -18    src/libkstmath/csd.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1070733

--

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
(Continue reading)


Gmane