Skip to content
Snippets Groups Projects
Commit bf23b0b9 authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Addition of number of data points to plot to Plot module for curve

parent 4ca3d604
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -608,7 +608,8 @@ None ...@@ -608,7 +608,8 @@ None
\subsubsection* {Assumptions} \subsubsection* {Assumptions}
None For plotting the user will select the number of subdivisions to be small enough
that there will not be an interpolation problem with the end points.
\subsubsection* {Access Routine Semantics} \subsubsection* {Access Routine Semantics}
...@@ -620,10 +621,13 @@ None ...@@ -620,10 +621,13 @@ None
\item exception: $( |X| \neq |Y| \Rightarrow \mbox{SeqSizeMismatch})$ \item exception: $( |X| \neq |Y| \Rightarrow \mbox{SeqSizeMismatch})$
\end{itemize} \end{itemize}
\noindent PlotCurve($c$) \noindent PlotCurve($c, n$)
\begin{itemize} \begin{itemize}
\item transition: modify win so that it displays an x-y graph of the curve c \item transition: modify win so that it displays an x-y graph of the curve c
between c.minD to c.maxD for evaluating c at the points in between. between c.minD to c.maxD for evaluating $c$ at $n$ equally spaced points in
between. For quadratic interpolation the points c.minD and c.maxD do not have
to be plotted, since c.eval() is problematic for these points. For linear
interpolation c.maxD does not have to be plotted.
\item exception: none \item exception: none
\end{itemize} \end{itemize}
\newpage \newpage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment