hdf-compass
hdf-compass copied to clipboard
Provide Plot with X-Axis Taken from a Table Column
I am working with 1D-data with the first column being "time".
It would be great to get the possibility to plot several columns, let's say....temperature 1, temperature 2, temperature 3 with an X-axis taken from the first column "time" (or any other reference).
This was a feature available in HDFview and might be useful for a lot of applications.
At the moment, data are plotted against the line index, which is in my case, not a relevant information.
Hi @L-A-F - I'm familiar with that feature from HDFview and it sounds useful to have in Compass.
I don't have the free time to work on this right now. Would you be interested in implementing yourself and submitting a PR?
Hi @jreadey,
I am actually busy as well, but I am willing to give it a try.
My first idea was to declare a column as "reference" and plot any selection against it.
But because actions with right-click on table are not implemented yet and to keep it simple, I was thinking (at the moment) about a new Icon XY just like the Plot Data one.
One would select some columns and the first to be selected would be the reference. This way, I could reuse the PlotFrame
class and only implement another draw_figure.
Let me know if it would be ok.
Hi @jreadey,
could you give me some permissions to open a new branch in order to solve this issue? I've already built something up for 1D-tables.
I think you should be able to submit a PR without any special permissions. Give it a try!
sorry, I am quite new on GitHub. Anyway, I manage to submit a PR (see add XYplot for 1D-array).