+ 1

How to Plot on c#

Hey . I have two array, one for x value and one for y value i want to plot a graph from this how i can do it pls i am new to c# i did it with python with matplotlib but don't know how to do it in. C#

2nd Mar 2019, 2:12 PM
Zamoslovski
4 Respostas
0
WinForms is native in .Net and C#. Just make sure to include in your C# code and it should work just fine! Good luck!
3rd Mar 2019, 9:57 PM
Adam Schmitt
Adam Schmitt - avatar
+ 1
I am using ubuntu i will see if i can use winforms on it but the problem is that its a homework so i have to send the script to the teacher but if he doesnt have winforms installed the script will not work
3rd Mar 2019, 9:51 PM
Zamoslovski
0
If you are using C# with WinForms, you can use the built in Chart class to make charts and graphs in your form. https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.datavisualization.charting.chart?view=netframework-4.7.2
3rd Mar 2019, 12:35 AM
Adam Schmitt
Adam Schmitt - avatar
0
ok thank you a lot man ,I have a questions ,how to excute command from c# like a command to run xmgrace i have searched but i only found big script " lots of line " it wouldn't be good to add all those on my code just to call xmgrace
3rd Mar 2019, 10:03 PM
Zamoslovski