MR wrote: > I have a CSV file that is getting appended with accelerometer data and > Veusz is plotting the movement. It looks very slick but as the movement > goes on and the CSV file gets longer and longer, it gets harder and harder > to see the plot as Veusz is trying to squeeze all that data into the plot. > Is there a way to make Veusz display the last X number of lines in the > file? > > Put another way: > Every sample cycle of the accelerometer results in about 1000 lines of > data in the CSV file. Can Veusz be set to display just the last 1000 lines > of data in the file?
Thanks for the compliments. There's not an automated way to do this - I should add some sort of tail dataset operation. However, you can create a new dataset for plotting, based on your imported dataset, containing just the last 1000 points. Go to Data->Create, enter a name for the new dataset, e.g. x_last1000, choose "Expression using existing datasets", and in the "Value" field enter "x[-1000:]" (without quotes), where "x" is your imported datset. Make sure the "Link" option is selected. Click "Create". You have to do this for all your datasets you are plotting. Plot using the new datasets. Thanks Jeremy _______________________________________________ Veusz-discuss mailing list [email protected] https://mail.gna.org/listinfo/veusz-discuss
