Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

If anyone uses the graphing software Grapher on the Mac, I could use some help. Specifically, there are four things I want to do that I couldn't figure out:

1) How do you restrict the "domain" of a graph? For example, how do you graph $y=x+1$ (in 3 space) with the restriction $z=2$? Or a combination of conditions like $4<x<10$ and $1 \leq y \leq 5$?

2) How do I plot a vector? When I choose the vector option from the palette and fill in values for x and y, Grapher just plots a point. But I want Grapher to graph the actual vector, an arrow starting at the origin and ending at the point.

3) Grapher seems to graph vector fields incorrectly. For example, I wanted to plot the 2D vector field -yi + xj. So I did Equation -> New Equation from Template -> Vector Field, and chose Explicit Cartesian. In the top blank space of the empty vector I filled in -y, and in the bottom blank space I filled in x. Grapher then produced a vector field with the correct shape, but all of the vectors were the same length. This is incorrect, as the arrows should get longer the farther they are from the origin. Am I doing something wrong, or does Grapher just not handle vector fields correctly? I did notice that as you move farther away from the origin, the vectors change color, so is color change just how Grapher shows that the vectors are getting longer? If so, how do I change it to display the actual length of the vectors?

4) Can Grapher do dot product and cross product of vectors? Can I hand Grapher two 3-D vectors, and have Grapher spit out the resulting cross product (and simultaneously graph all three vectors)?

Any help will be appreciated!

share|improve this question
add comment

closed as off topic by Fabian, William, LVK, sdcvvc, Asaf Karagila Aug 30 '12 at 23:29

Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 1 down vote accepted

Here is a partial answer:

1) You can try something like

$\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}t\\t+1\\2\end{bmatrix},t=-100..100$

varying these bounds for $t$ as you wish.

2) You can try

$\begin{bmatrix}x\\y\\z\end{bmatrix} = \begin{bmatrix}2t\\3t\\4t\end{bmatrix},t=0..1$

if your vector is, say $(2,3,4)^T.$

3) Yes, it looks like Grapher uses warm colours for greater magnitude in vector fields. To change this go to Inspector and select Proportional

4) This is a free French manual. I followed this thread which claims it is possible, though it doesn't look straightforward to do. In the end I think you're better off using something like SAGE.

share|improve this answer
1  
Thanks for the help Andrew. I'll give Sage a try. –  dan Aug 18 '12 at 14:55
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.