Dear Terry
On 27/03/14 00:51, Terry Duell wrote:
I import into veusz, "HDF5" tab selected, as shown in attached screenshot.
In the "import data" window I select "freq", and "power" and the "value
Numeric" is automatically selected.
The import happens. In the "Data - Veusz" pane I can select "/power/value"
and edit the data, but I cannot associate the data with "X data" or "Y
data" of the graph.
Clearly something is not right. I would have expected the data pane to see
the two vectors as "power" and "freq".
Am I tackling this the wrong way?
Thanks for the question. The problem is twofold:
1. Veusz uses the HDF5 dataset name as the Veusz dataset name. Octave
appears to store the data as a group of datasets with the name of the
dataset, containing a dataset with the name "value". When importing,
Veusz differentiates them by prepending the group name for the 2nd
dataset. You could avoid this by entering "freq" and "value" in the
"Import as" column next to the Numeric datasets. Perhaps there's an
option for Octave to change the layout of the datasets.
2. Octave writes the datasets as 2D datasets, so they don't show up in
the xy plotting widget, which wants 1D datasets. Perhaps it's possible
to convert your datasets to 1D before writing. Otherwise you can enter a
slice such as "0, :" in the Slice column, which selects a 1D subset of
your datasets.
I hope this helps!
Jeremy
_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss