9

Methods of popping up a simple X-Y graph from within a C# .NET console app?

p.s. I don't mind using a 3rd party plugin (such as like IronPython or Matlab) to take advantage of 3rd party graphing libraries.

6
  • 4
    You mean like ASCII-art? Or you would like this console application to open another window which would represent the canvas on which the graph would be drawn? Commented Sep 17, 2011 at 13:40
  • Inside the console or do you want to start a Windows application? Using the console won't really give a satisfying result ( IMHO ) as the "resolution" will be terrible ... Commented Sep 17, 2011 at 13:42
  • 2
    well guys, in MS-DOS we used to play games so there must be a way to draw lines, circles and shapes, not only ASCII charts... :) Commented Sep 17, 2011 at 13:47
  • 2
    @Davide Piras - you really want to draw into VGA memory, perhaps even via a BIOS call ? ;-) Commented Sep 17, 2011 at 13:49
  • I don't, but I guess he does :) Commented Sep 17, 2011 at 13:51

1 Answer 1

6

Use the following method to start a console app with a windows form and then display/hide the form as necessary. Use the form to display the graph bitmap.

how to run a winform from console application?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.