Skip to content

A stupid question #24

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

Closed
linwaytin opened this issue Feb 4, 2023 · 2 comments
Closed

A stupid question #24

linwaytin opened this issue Feb 4, 2023 · 2 comments

Comments

@linwaytin
Copy link

This looks great, as it combines the power of python and gnuplot!

I have a stupid question. The most basic command in gnuplot is plot 'file.dat' using 1:2.
How do I do this in gnuplotlib? Maybe I missed it but I couldn't find it in the documentation. Thanks.

@dkogan
Copy link
Owner

dkogan commented Feb 4, 2023

I don't understand the question. gnuplotlib plots numpy arrays. So load your file into a numpy array, and you can plot it. Does the guide not give you examples that match what you want to do?

@linwaytin
Copy link
Author

Thanks. I think I misunderstood this tool.

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