Nicolas Brisset | 20 May 2013 22:48
Picon
Favicon

Setting the x axis display format from the data wizard?

Hi,

To finalize the great new time options with ASCII for 2.0.7, I was trying to make it so that using a formatted
string would set it as x axis format string as well. The reason is that I have lots of files with a time but no
date, and apparently the file creation date is tricky to get. In fact, most of the time I don't care about the
date, but I don't like seeing January 1st 1970! Right now, I have to remove it manually each time I load
vectors, which really gets on your nerves!

So I tried it as attached, but apparently it's not working for a reason which is not clear to me. Probably the
setting is not enough or gets overwritten later down the chain, I will have to investigate a bit more. But if
someone else knows how to get it to work, don't hesitate!

Cheers,

Nicolas
_______________________________________________
Kst mailing list
Kst <at> kde.org
https://mail.kde.org/mailman/listinfo/kst
Nicolas Brisset | 20 May 2013 22:42
Favicon

branches/work/kst/portto4/kst/src/datasources/ascii

SVN commit 1355701 by brisset:

Unbreak activation/deactivation of widgets

 M  +70 -38    asciiconfig.ui  

--- branches/work/kst/portto4/kst/src/datasources/ascii/asciiconfig.ui #1355700:1355701
 <at>  <at>  -820,12 +820,12  <at>  <at> 
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>473</x>
-     <y>333</y>
+     <x>421</x>
+     <y>363</y>
     </hint>
     <hint type="destinationlabel">
-     <x>533</x>
-     <y>335</y>
+     <x>477</x>
+     <y>363</y>
     </hint>
    </hints>
   </connection>
 <at>  <at>  -836,12 +836,12  <at>  <at> 
    <slot>setEnabled(bool)</slot>
    <hints>
     <hint type="sourcelabel">
-     <x>75</x>
-     <y>252</y>
(Continue reading)

Nicolas Brisset | 20 May 2013 18:14
Favicon

branches/work/kst/portto4/kst/src/datasources/ascii

SVN commit 1355686 by brisset:

Beautify a bit the ASCII config dialog and use a consistent
capitalization scheme. One more thing I'd like to do is set the axis
display format to be that of the file.

 M  +38 -57    asciiconfig.ui  

--- branches/work/kst/portto4/kst/src/datasources/ascii/asciiconfig.ui #1355685:1355686
 <at>  <at>  -499,7 +499,7  <at>  <at> 
    <item row="5" column="0">
     <widget class="QGroupBox" name="_interpret">
      <property name="title">
-      <string>Interpret field as time</string>
+      <string>Date/Time Interpretation</string>
      </property>
      <property name="checkable">
       <bool>true</bool>
 <at>  <at>  -507,8 +507,11  <at>  <at> 
      <property name="checked">
       <bool>false</bool>
      </property>
-     <layout class="QGridLayout" name="gridLayout_3">
-      <item row="0" column="0" colspan="3">
+     <layout class="QHBoxLayout" name="horizontalLayout_7">
+      <item>
+       <widget class="QGroupBox" name="groupBox">
+        <layout class="QVBoxLayout" name="verticalLayout">
+         <item>
        <layout class="QHBoxLayout" name="horizontalLayout_8">
(Continue reading)

jason.cipriani | 7 May 2013 09:21
Picon

[kst] [Bug 319449] New: Creating a new plot consistently seg faults kst2.

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

            Bug ID: 319449
           Summary: Creating a new plot consistently seg faults kst2.
    Classification: Unclassified
           Product: kst
           Version: 2.0.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: plotting
          Assignee: kst <at> kde.org
          Reporter: jason.cipriani <at> gmail.com

Reproducible 100% of the time:
1. Start kst2 (from command line, no parameters). Load no data, do nothing.
2. Create -> Plot
3. Cursor changes to cross. Click anywhere in layout area.
4. Program immediately seg faults.

Reproducible: Always

Steps to Reproduce:
1. Start kst2 (from command line, no parameters). Load no data, do nothing.
2. Create -> Plot
3. Cursor changes to cross. Click anywhere in layout area.
4. Program immediately seg faults.
Actual Results:  
(Continue reading)

Peter Kümmel | 1 May 2013 12:10
Picon
Gravatar

branches/work/kst/portto4/kst

SVN commit 1351909 by kuemmel:

fix travis build

 M  +2 -1      .travis.yml  

--- branches/work/kst/portto4/kst/.travis.yml #1351908:1351909
 <at>  <at>  -3,10 +3,11  <at>  <at> 
 # Travis-CI Build for kst2
 # see travis-ci.org for details

-language: erlang
+language: cpp

       
 install:
+ - sudo apt-get update -qq
  - sudo apt-get remove cmake mingw32-binutils mingw32-runtime mingw32 libqt4-dev qt4-qmake mingw-w64
g++-mingw-w64 gcc-mingw-w64
  - sudo apt-get install m4 bison flex
  - sudo apt-get install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 #
cmake is 32bit
Barth Netterfield | 30 Apr 2013 15:33
Picon
Picon
Favicon

branches/work/kst/portto4/kst/src/datasources/ascii

SVN commit 1351676 by netterfield:

Configuration dialog mostly works, with these exceptions:

-Preview first 100 lines ins not enabled yet.
-I don't know what 'Always accept files matching' is supposed to do, and
I don't know if it does it.
-File date, at least under linux, is suspect.  What we probably want is
file creation date/time, but that doesn't seem to (necessarily) exist.
What do we want to do here?

 M  +3 -6      asciiconfig.ui  
 M  +26 -2     asciiconfigwidget.cpp  
 M  +3 -0      asciiconfigwidget.h  
 M  +31 -0     asciisource.cpp  
 M  +1 -0      asciisource.h  
 M  +0 -10     asciisourceconfig.cpp  
 M  +0 -3      asciisourceconfig.h  

--- branches/work/kst/portto4/kst/src/datasources/ascii/asciiconfig.ui #1351675:1351676
 <at>  <at>  -679,12 +679,6  <at>  <at> 
         <property name="alignment">
          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
         </property>
-        <property name="checkable">
-         <bool>true</bool>
-        </property>
-        <property name="checked">
-         <bool>false</bool>
-        </property>
(Continue reading)

Rix, Patrick | 9 Apr 2013 12:43
Picon
Favicon

TestData for Contribution of NetCDF-interface: --> plotting of PACKED/COMPRESSED DATA and MATRIX COMPONENTS

Dear KST-developers,
dear Nicolas,

To illustrate the new features of the NetCDF interface I've put together some test data which I wanted to
distribute along with the source code modifications (--> attached ZIP-archive 
'NetCDF_Helix_TestData_Float+ShortInt.zip'  ). I used these files for a quick evaluation of my version
and it would be interesting to know if this works for other users and systems, too. The contained data are a
particle trajectory in form of helix if plotted in 3D.


Best Regards,
Patrick Rix.


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte umgehend
den Absender und löschen Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe der
in dieser E-Mail enthaltenen Daten ist nicht gestattet. Wie Sie wissen, kann die Sicherheit von
Übermittlungen per E-Mail nicht gewährleistet werden, E-Mails können missbräuchlich unter
fremdem Namen erstellt oder verändert werden. Aus diesem Grund bitten wir um Verständnis dafür, dass
wir zu Ihrem und unserem Schutz die rechtliche Verbindlichkeit der vorstehenden Erklärungen
ausschließen müssen. Diese Regelung gilt nur dann nicht, wenn wir mit Ihnen eine anderweitige
schriftliche Vereinbarung über die Einhaltung von Sicherheits- und Verschlüsselungsstandards
getroffen haben.

This e-mail contains confidential and/or privileged information. If you are not the intended recipient
(or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
As you know, the security of e-mail transmissions can not be guaranteed. E-mails can be misused to be
written or modified under false names. For that reason, we ask you to understand the necessity for us to
(Continue reading)

Rix, Patrick | 9 Apr 2013 11:54
Picon
Favicon

Contribution NetCDF-interface: --> plotting of PACKED/COMPRESSED DATA and MATRIX COMPONENTS

Dear KST-developers,
dear Nicolas,

I finally succeeded in compiling KST and enhancing the NetCDF data interface by adding support for

  +++ plotting of PACKED DATA (using signed short integers as data type in combination with scaling
attributes 'scale_factor' and 'add_offset') and
  +++ plotting COMPONENTS of a time dependent MATRIX,     X_[time, j_comp]  as vectors   x_j{time}

which I wanted to contribute to the KST-project (--> attached ZIP-achiche) hoping that it will be useful to
others, too and gets included into the main stream.
The only file that has been affected to changes was :     kst\src\datasources\netcdf\netcdfsource.cpp

I also added some comments there on the main idea and strategy of the implementation details which needed a
little bit of cheating.
Thus it  would be good if someone else could have a look on the code, seeing how it could be implemented in a more
elegant way - so:
any feedback will be warmly appreciated.

Componets of Matrices can be selected in the Data Wizard dialog being shown as vectors.
For example a matrix   X_vec3[time,1..3]   with the time dependend position vector representing the
trajectory of a particle will appear in the field selection window as three vectors:    X_vec3.[01] , 
X_vec3.[02]  and  X_vec3.[03] .

If anyone wants to try the new interface version, I can send an achive (~45MB) with the Windows binary
(compiled with Microsoft Visual Studio 10 Express) and all plugin-DLLs if you drop me a note.


Best Regards,
Patrick Rix.
(Continue reading)

Till Schäfer | 10 Apr 2013 17:49
Picon
Picon

[kst] [Bug 318144] New: data sources are saved with absolute path

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

            Bug ID: 318144
           Summary: data sources are saved with absolute path
    Classification: Unclassified
           Product: kst
           Version: 2.0.6
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: datasources
          Assignee: kst <at> kde.org
          Reporter: till2.schaefer <at> uni-dortmund.de

data sources are stored with absolute paths in the .kst project file. This
leads to strange behavior when moving a folder in which both the source and kst
files are. Another situation in which this behavior make kst fail to find the
source files is when mounting a drive on a different mount point.

I propose to save the source files relative to the kst file location. 

Reproducible: Always

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
Till Schäfer | 10 Apr 2013 17:26
Picon
Picon

[kst] [Bug 318143] New: differentiate colors, etc does not work correctly if not all curves are displayed

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

            Bug ID: 318143
           Summary: differentiate colors, etc does not work correctly if
                    not all curves are displayed
    Classification: Unclassified
           Product: kst
           Version: 2.0.6
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kst <at> kde.org
          Reporter: till2.schaefer <at> uni-dortmund.de

The differentiate (color, etc) feature is a very useful tool i use very often.
However it is limited in some cases: 

- It differentiates all curves (not only the displayed ones). That means if i
have imported a lot of curves and only display a few of them some colors are
very similar. I propose to differentiate only over the visible elements. 
- The ordering of the colors, etc depends on the ordering i used to import the
files rather than the ordering in the plot. If i have  more than one plot with
the same curves under different settings for example this can lead to different
colors for the first, second, and so on curve.

In both situations this leads to a situation where i have to set each color
manually. Thus resulting in much work overhead. 
(Continue reading)

Till Schäfer | 10 Apr 2013 17:16
Picon
Picon

[kst] [Bug 318141] New: double click does not work for lists in dialog "Differentiate Curves"

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

            Bug ID: 318141
           Summary: double click does not work for lists in dialog
                    "Differentiate Curves"
    Classification: Unclassified
           Product: kst
           Version: 2.0.6
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: ui
          Assignee: kst <at> kde.org
          Reporter: till2.schaefer <at> uni-dortmund.de

When double clicking on an element in the available or selected list in the
"Differentiate Curves" dialog nothing happens. It should trigger an add or
remove action depending on the list in which the item resides. This is a bug
because the behavior is inconsistent with other dialogs, which have the same
layout (e.g. Data Wizard)

Reproducible: Always

--

-- 
You are receiving this mail because:
You are the assignee for the bug.

Gmane