Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Plot with X-Axis Taken from a Table Column #194

Open
L-A-F opened this issue Apr 10, 2018 · 5 comments
Open

Provide Plot with X-Axis Taken from a Table Column #194

L-A-F opened this issue Apr 10, 2018 · 5 comments

Comments

@L-A-F
Copy link
Contributor

L-A-F commented Apr 10, 2018

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.

@jreadey
Copy link
Member

jreadey commented Apr 11, 2018

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?

@L-A-F
Copy link
Contributor Author

L-A-F commented Apr 16, 2018

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.

@L-A-F
Copy link
Contributor Author

L-A-F commented Apr 18, 2018

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.

@jreadey
Copy link
Member

jreadey commented Apr 18, 2018

I think you should be able to submit a PR without any special permissions. Give it a try!

@L-A-F
Copy link
Contributor Author

L-A-F commented Apr 23, 2018

sorry, I am quite new on GitHub. Anyway, I manage to submit a PR (see add XYplot for 1D-array).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants