Document 609 Plotting vector fields with a single variableVersion: 4.x & 5.x - Scientific WorkPlace & Scientific Notebook ProblemVector fields cannot be plotted if the vector contains an insufficient number of variables. ExplanationThe MuPAD computational engine included in Versions 4.x and 5 of SWP and SNB requires that vector fields have more than one variable. Two-dimensional vector fields plotted with Plot2D + Vector Field must have two variables. Three-dimensional vector fields plotted with Plot3D + Vector Field must have three variables. SolutionYou can plot vector fields that have too few variables by introducing dummy variables into the expression. Instead of writing your expression as, for example, , write it as The MuPAD computational engine evaluates the value as , but assumes the is a second variable and plots the vector field correctly. Last revised 01/20/06 This document was created with Scientific WorkPlace. |