Does Visio allow to plot a mathematical function?

2

Does Visio allow to plot a function such as y=(1/sin(x)).

I am keen on being able to specify the function directly, rather than having to fiddle with some stencils dimensions. Is there a specific stencil that allows to type in the function, can one do that using a shape sheet or VBA?

toksing

Posted 2012-05-01T04:42:29.390

Reputation: 43

Try notes at xy-curve - calculating with visio

– nik – 2012-05-01T04:56:52.633

Wait, you want to plot a 3D curve (y=(1/sin(x))^z)? Just checking. – Bob – 2012-05-01T07:24:32.083

Ahh - actually even 2d is enough for now. Have edited the question. – toksing – 2012-05-01T08:15:40.477

Answers

0

I recommend using the Microsoft Mathematics Add-In for Word and OneNote. Unfortunately, they don't provide a Visio version. So, this is what I would do:

  1. Install the add-in

  2. Embed a Word document into your Visio document

    Screenshot of embedding a document
    Click for full size

  3. Edit the embedded document by double clicking on it. Insert an equation, either with the ribbon option or the Alt= keyboard shortcut.

    Screenshot of inserting an equation
    Click for full size

  4. Enter your equation

  5. Select the equation (or focus on it by clicking inside it) and graph it. There's also a graphing option on the far right of the Equation tab

    Screenshot of graphing the curve
    Click for full size

It's also possible to plot 3D curves with this method.

Screenshot of 2D and 3D curve side by side
Click for full size

You can also plot them directly in Word and copy the image into Visio. That doesn't allow editing later though.

Bob

Posted 2012-05-01T04:42:29.390

Reputation: 51 526

Wow, I did know about this. In principle, Word is just as fine for me as Visio. Thanks. But the quality does not seem to be that high. Anyway, I'll leave the question open for a little while but your answer is definitely a strong candidate. – toksing – 2012-05-01T13:37:31.947

2D is alright, 3D isn't that great. You might want to play around a bit with the standalone Microsoft Mathematics, but the quality should be the same. If you want something better, it's time to look at more dedicated programs, such as Mathematica (not free). Geogebra is excellent for 2D and there's a beta GeoGebra 3D. All of those require copy/paste or save/import into MS Office.

– Bob – 2012-05-01T14:06:45.020