Re: [Veusz-discuss] Trying to plot a 2D graph

2011-06-06 Par sujet Ian Riley

Hi Micro

You need to start your csv with headings.

Time, Value
0, 10.020
1, 10.000 etc

I don't think Veusz can accept date-time format as you have in your 
dataset as a continuous variate. Just turn it into seconds, 0,1,2,...10.


Veusz will read in your date-time format as text only. So you cannot use 
it for a xy plot. Perhaps, you can use it as labels on a bar graph, or 
the like.


OK add column headings and make the time data into simple seconds, then 
when you do Data - Import, select your file and its contents will be 
displayed, but don't forget to import it (click the import button).


In XY object, set the X data and Y data properties by selecting your 
column headings from the respective drop down boxes.


Simple really once you get the drift of how it works.  Veusz is great 
and worth the short learn curve needed to get yourself up and running.


Cheers Ian


Mirco Schmidt sent the following on 6/06/11 8:15 PM:

Hi all,

I've got a *.csv which look's like this:

05.06.11 22:46, 10.020
05.06.11 22:47, 10.000
05.06.11 22:48, 10.070
05.06.11 22:49, 10.020
05.06.11 22:50, 10.030
05.06.11 22:51, 9.980
05.06.11 22:52, 9.930
05.06.11 22:53, 9.950
05.06.11 22:54, 9.990
05.06.11 22:55, 9.980
05.06.11 22:56, 9.990

I'm running on version 1.11 on Mac OS 10.6.7...

I use Menu Data / Import to link my dataset to the project, but when adding 
the xy plot to the graph I'm stuck. I even followed the howto from the page, but my data 
seems to be so different that this doesn't work for me!

Hope you can help, I need to accomplish this so I can document it for a client. 
I'll commit that documentation to the wiki when done...


Greetz
Mirco



___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss


Re: [Veusz-discuss] Trying to plot a 2D graph

2011-06-06 Par sujet Mirco Schmidt
My hope was that I can plot that data the same way I did it with gnuplot! But 
more comfortable so a client can do himself if I give him a docu...

Have you seen that screenshot of the main-window showing the tooltip? I'll 
reattach it, if veusz can do what I need in a mouse-over there must be a way to 
do it as a graph!!! If there's no way to plot the graph the tooltip show's I'ld 
prefer a script! As I've never done such a script and have nearly no experience 
in scripting I'm happy about any hint!!! Because this way I could setup a 
toolchain I could give to the client!

Greetz
Mirco

inline: Graph.png
Am 06.06.2011 um 15:37 schrieb Ian Riley:

 Hi Mirco, yes, but I think you will need two numerical datasets to do a xy 
 plot. Open your csv in a spreadsheet. Either create a column of sequential 
 numbers (autofill), or a formula that converts your date-time text into a 
 date-time value. Then a column to calculate minutes from the initial time.  
 The latter would only be needed if your time intervals are variable (ie not 
 always just exact one minute intervals). Re-export it as a new csv. If you 
 have many such files to process, it would be possible to automate the 
 process. Automation could be done with a macro in MS Excel, or you could 
 knock up a simple python script or the like. Cheers Ian
 
 Mirco Schmidt sent the following on 6/06/11 10:25 PM:
 Hi Ian,
 
 all I need is the value's on the Y-axis. Veusz recognise's that data 
 correct, cause it show's a preview of the graph as a tooltip when I place my 
 mouse over the Data-type, see attached Screenshot...
 
 A header can be added very fast... But I can't add the time in sec's to 
 every line. Because the data-fomat as you see it is a standard I can't 
 modify the script to add this to every new file...
 
 I've attached some screenshot of the import dialog and the properties 
 dialog. As you can see using time as a label is exactly what I'm trying to 
 do...
 
 
 
 
 
 Am 06.06.2011 um 14:25 schrieb Ian Riley:
 
 Hi Micro
 
 You need to start your csv with headings.
 
 Time, Value
 0, 10.020
 1, 10.000 etc
 
 I don't think Veusz can accept date-time format as you have in your dataset 
 as a continuous variate. Just turn it into seconds, 0,1,2,...10.
 
 Veusz will read in your date-time format as text only. So you cannot use it 
 for a xy plot. Perhaps, you can use it as labels on a bar graph, or the 
 like.
 
 OK add column headings and make the time data into simple seconds, then 
 when you do Data - Import, select your file and its contents will be 
 displayed, but don't forget to import it (click the import button).
 
 In XY object, set the X data and Y data properties by selecting your column 
 headings from the respective drop down boxes.
 
 Simple really once you get the drift of how it works.  Veusz is great and 
 worth the short learn curve needed to get yourself up and running.
 
 Cheers Ian
 
 
 Mirco Schmidt sent the following on 6/06/11 8:15 PM:
 Hi all,
 
 I've got a *.csv which look's like this:
 
 05.06.11 22:46, 10.020
 05.06.11 22:47, 10.000
 05.06.11 22:48, 10.070
 05.06.11 22:49, 10.020
 05.06.11 22:50, 10.030
 05.06.11 22:51, 9.980
 05.06.11 22:52, 9.930
 05.06.11 22:53, 9.950
 05.06.11 22:54, 9.990
 05.06.11 22:55, 9.980
 05.06.11 22:56, 9.990
 
 I'm running on version 1.11 on Mac OS 10.6.7...
 
 I use Menu Data / Import to link my dataset to the project, but when 
 adding the xy plot to the graph I'm stuck. I even followed the howto from 
 the page, but my data seems to be so different that this doesn't work for 
 me!
 
 Hope you can help, I need to accomplish this so I can document it for a 
 client. I'll commit that documentation to the wiki when done...
 
 
 Greetz
 Mirco
 
 
 
 ___
 Veusz-discuss mailing list
 Veusz-discuss@gna.org
 https://mail.gna.org/listinfo/veusz-discuss
 

___
Veusz-discuss mailing list
Veusz-discuss@gna.org
https://mail.gna.org/listinfo/veusz-discuss