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

Can the graph be inbuilt in the Winform application? #5

Open
sim273 opened this issue May 24, 2018 · 2 comments
Open

Can the graph be inbuilt in the Winform application? #5

sim273 opened this issue May 24, 2018 · 2 comments

Comments

@sim273
Copy link

sim273 commented May 24, 2018

Hello people:
I want the graph that I got through GnuPlot.cs to get embedded in a Winform application,is there any way to achieve it?

@swharden
Copy link
Contributor

I too am interested in this. To define the task better, I wish to add a function to the GnuPlot class which returns the graph as a bitmap (rather than launching an interactive window). There are a few ways this could be done. Usage could be something like:

GnuPlot.StartBitmap();
GnuPlot.Plot("sin(x)");
pictureBox1.Image = GnuPlot.GetBitmap();

@AwokeKnowing
Copy link
Owner

@swharden This would be interesting if you get it working. At the time, I did not know of any way. I have a feeling there is some way to kind of output the sequence of commands to a command-line and have it generate an image which is then read into to the program.

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

3 participants