I use ilnumerics library by math's graph drawing. After using of "zoom in", "zoom out" features, there is no possibility to return graph in initial state (only not elegant way, in my opinion, to redraw it). I used methods like "PerformAutoScale", also I tried to refresh Panel and Scene objects, but I didn't achieve the necessary result. Also, I was searching "scene" object properties that may be charge of scaling, but didn't find it too. Are there any way to decide it?

有帮助吗?

解决方案

Try:

scene.First<ILPlotCube>().Reset();

Alternatively, you may double click on the plot. This does also reset the scene to the initial state.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top