質問

I need matlab equivalent of axis equal in C# Chart. Just like in this question: Make the X and Y axis scales equal on an Excel chart but for C# Chart control. Please help.

役に立ちましたか?

解決

Instead of using MsChart, you can try to create your own chart using:

g.DrawLine where g is a Graphics object.
You can use a PictureBox and declare:

Graphics g = pictureBox1.CreateGraphics(); 

In this way, you can simply create your Oxy system and put the point of your data as you wish. For instance, if the vertical axis is 500 pixel long and the horizontal one is 1000 pixel long, you can use a 2-fold factor in order to have your axis equal.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top