Author |
Topic |
|
Eggord
Germany
13 Posts |
|
greg
USA
1378 Posts |
Posted - 09/23/2014 : 10:53:17 AM
|
Here is an example plotxy (1,2) plot:=200; // Plots column 2 vs column 1 as Line plot get %C -e last; // Finds last row of data dlgSave ext:=*.avi title:="Name of video file"; // Get video name int codec = vw.FourCC(0, 0, 0, 0); // uncompressed int err = vw.Create(%(fname$), codec, 15, 1024, 768); if( 0 == err ) { // This advances the end of the plot by 100 rows for( idx = 0 ; idx <= last ; idx += 100 ) { set %C -e idx; // Delay so we can watch. sec -pw %h; // Write graph to video as a single frame. err = vw.WriteGraph(); if( err ) break; } // Release the video writer. vw.Release(); if( err ) type "WriteGraph error $(err)"; } else type "VideoWriter Create error $(err).";
|
|
|
Eggord
Germany
13 Posts |
Posted - 09/23/2014 : 12:48:55 PM
|
thank you! This worked.
Is there a way to manage the layout(axis,plot details, scale and so) of the plot? Or a link/pdf with commands for that? |
|
|
|
Topic |
|
|
|