tag:blogger.com,1999:blog-6127132400597215190.post1243952480869335775..comments2023-11-07T15:28:39.075-08:00Comments on Nostatic Software Dev Blog: Interactive Function Plotting Using Runtime Compilation of C# AssembliesMikehttp://www.blogger.com/profile/13599208082890099005noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6127132400597215190.post-50705912866210022622012-01-27T10:13:29.742-08:002012-01-27T10:13:29.742-08:00That's where the runtime compilation comes in....That's where the runtime compilation comes in. The function that you type in is compiled into a class with a method that gets passed a value for X and returns a value for Y. Then it is just a simple plot - iterate over the range of X values and plot the resulting Y values.Mikehttps://www.blogger.com/profile/13599208082890099005noreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-8121999183949700692012-01-27T06:39:45.816-08:002012-01-27T06:39:45.816-08:00This may be a stupid question but I would really l...This may be a stupid question but I would really like to know how you did it programmaticaly...<br /><br />Here's the situation I'm in:<br />I would like to create an application similar to this one. <br />The user can give in a function to plot, which then need to be shown on a usercontrol.<br />This usercontrol contains a canvas.<br />Obviously this has to be done by runtime compilation, and this I understand...<br />But I'm stuck at the fact that I don't know how to draw the function exactly.<br /><br />My question is basically:<br />How did you plot the function by code?<br />Because one function can be totally different from an other...<br /><br />With regards,<br />a Belgian student. :)Anonymousnoreply@blogger.com