Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Try notes at xy-curve - calculating with visio – nik May 1 '12 at 4:56
Wait, you want to plot a 3D curve (y=(1/sin(x))^z)? Just checking. – Bob May 1 '12 at 7:24
Ahh - actually even 2d is enough for now. Have edited the question. – toksing May 1 '12 at 8:15
up vote 0 down vote accepted

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.

share|improve this answer
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 May 1 '12 at 13:37
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 May 1 '12 at 14:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .