[LabPlot2] [Bug 389212] Live data source not updating

2018-04-03 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=389212

Alexander Semke  changed:

   What|Removed |Added

  Latest Commit||ea77865c0694c8b69e5a67f0a50
   ||cdb4819b07764
 Resolution|--- |FIXED
   Version Fixed In||2.5
 Status|UNCONFIRMED |RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-21 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #7 from Alexander Semke  ---
(In reply to Orestes Mas from comment #6)
> Various cases can be handled with suitable command-line options. For
> instance, Grace uses the "-nxy" switch to indicate that following file
> is organised in several data columns, the first one being the common
> abcissa and the rest the curves to plot. 
> 
> Anyway, a bug tracker is not the best place to discuss that. I'll try to
> subscribe to some labplot mailing list and eventually make there my
> humble contribution to the discussion. 
Agree. kde-edu mailing list would be the appropriate place for such
discussions.

P.S.: at the moment, 'labplot2 ' opens the import file dialog only.
The same happens when doing drag&drop with a data file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-21 Thread Orestes Mas
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #6 from Orestes Mas  ---
A 2018-01-21 12:36, Alexander Semke escrigué: 

> https://bugs.kde.org/show_bug.cgi?id=389212 [1]
> 
> --- Comment #5 from Alexander Semke  ---
> (In reply to Orestes Mas from comment #4)
> 
>> The second. I tried to obtain a live plot update from data coming from 
>> Gnucap circuit simulation software. Give me some days (I'm in the middle of 
>> exam assessements) and perhaps I can provide you an example.
> 
> This would be really great.
> 
>> Anyway, Labplot2 is a really great application, and its development seemed 
>> stalled few years ago but with your recent work and the porting to 
>> Frameworks I foresee a bright future for it.
> 
> thank you for the your kind feedback!
> 
>> One suggestion: I used (and still do) Grace to plot my data, mainly because 
>> obtaining a rough graph from command-line is super-easy: simply "xmgrace 
>> " and you got it. It will be very helpful if Labplot had such a 
>> feature.
> 
> In principle this is easy to implement in LabPlot, too. The problem is that 
> the
> different users have different scenarios here. Some people want to get the 
> data
> automatically imported into a spreadsheet or into a matrix with 'labplot2 
>  file> for further editing first, some people want to get the import dialog
> shown so they can set the settings for the file parsing, some people deal with
> live data and want our "add live data source" dialog to be shown where they 
> can
> set the read options, some other users want to directly get the plots 
> generated
> like in xmgrace.
> 
> We're thinking about this already, we need to come up with a user-friendly
> command line interface to cope with all these possible use-cases. For example,
> xmgrace  on a file with a custom header having the string values 
> for
> the column names has issues - the error message "Column count incorrect" is
> shown and nothing is plotted. Also, how to generate one plot with one curve 
> for
> every y-column in the data and how to add all curves to the same plot? This
> kind of different scenarios has to be taken care of here.

Various cases can be handled with suitable command-line options. For
instance, Grace uses the "-nxy" switch to indicate that following file
is organised in several data columns, the first one being the common
abcissa and the rest the curves to plot. 

Anyway, a bug tracker is not the best place to discuss that. I'll try to
subscribe to some labplot mailing list and eventually make there my
humble contribution to the discussion. 

Orestes. 



Links:
--
[1] https://bugs.kde.org/show_bug.cgi?id=389212

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-21 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #5 from Alexander Semke  ---
(In reply to Orestes Mas from comment #4)
> The second. I tried to obtain a live plot update from data coming from
> Gnucap circuit simulation software. Give me some days (I'm in the middle
> of exam assessements) and perhaps I can provide you an example.
This would be really great.


> Anyway, Labplot2 is a really great application, and its development
> seemed stalled few years ago but with your recent work and the porting
> to Frameworks I foresee a bright future for it.
thank you for the your kind feedback!

> 
> One suggestion: I used (and still do) Grace to plot my data, mainly
> because obtaining a rough graph from command-line is super-easy: simply
> "xmgrace " and you got it. It will be very helpful if Labplot
> had such a feature.
In principle this is easy to implement in LabPlot, too. The problem is that the
different users have different scenarios here. Some people want to get the data
automatically imported into a spreadsheet or into a matrix with 'labplot2  for further editing first, some people want to get the import dialog
shown so they can set the settings for the file parsing, some people deal with
live data and want our "add live data source" dialog to be shown where they can
set the read options, some other users want to directly get the plots generated
like in xmgrace.

We're thinking about this already, we need to come up with a user-friendly
command line interface to cope with all these possible use-cases. For example,
xmgrace  on a file with a custom header having the string values for
the column names has issues - the error message "Column count incorrect" is
shown and nothing is plotted. Also, how to generate one plot with one curve for
every y-column in the data and how to add all curves to the same plot? This
kind of different scenarios has to be taken care of here.

But I agree with you in general, a 'labplot2 ' with all the read,
parse and plot parameters set internally to reasonable values so that the user
can directly see the plotted data would be great.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-21 Thread Orestes Mas
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #4 from Orestes Mas  ---
On 21/01/18 10:51, Alexander Semke wrote:
> https://bugs.kde.org/show_bug.cgi?id=389212
>
> --- Comment #3 from Alexander Semke  ---
> Ok. Looks like we have an issues in the current code. Do you have a
> reproducible example? How do you change the file? Do you modify the file
> manually in a text editor or do you have kind of a script or device writing to
> the file?
The second. I tried to obtain a live plot update from data coming from
Gnucap circuit simulation software. Give me some days (I'm in the middle
of exam assessements) and perhaps I can provide you an example.

Anyway, Labplot2 is a really great application, and its development
seemed stalled few years ago but with your recent work and the porting
to Frameworks I foresee a bright future for it.

One suggestion: I used (and still do) Grace to plot my data, mainly
because obtaining a rough graph from command-line is super-easy: simply
"xmgrace " and you got it. It will be very helpful if Labplot
had such a feature.

Regards,

Orestes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-21 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #3 from Alexander Semke  ---
Ok. Looks like we have an issues in the current code. Do you have a
reproducible example? How do you change the file? Do you modify the file
manually in a text editor or do you have kind of a script or device writing to
the file?

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-20 Thread Orestes Mas
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #2 from Orestes Mas  ---
On 19/01/18 20:37, Alexander Semke wrote:
> https://bugs.kde.org/show_bug.cgi?id=389212
>
> --- Comment #1 from Alexander Semke  ---
> which version of LabPlot did you compile from sources? The last available
> release or the current version from our git repository in the master branch?
>
The one from git repo (commit afa030aeb2a5eb76afa38780e2e5e971a36b1b29)

Orestes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[LabPlot2] [Bug 389212] Live data source not updating

2018-01-19 Thread Alexander Semke
https://bugs.kde.org/show_bug.cgi?id=389212

--- Comment #1 from Alexander Semke  ---
which version of LabPlot did you compile from sources? The last available
release or the current version from our git repository in the master branch?

-- 
You are receiving this mail because:
You are watching all bug changes.