Right input, but unable to graph the space curve. Take a look, any setting changes?

> f := proc (t) options operator, arrow; [t+1, 2-2*t, 3-3*t] end proc; spacecurve(f(t), t = 0 .. 1, axes = boxed, scaling = constrained, color = orange);

^^^^^^^ that is from copying and pasting from the maple.

otherwise it'd look more like this

> f:=t->[t+1,2-2*t,3-3*t];
   spacecurve(f(t),t=0..1,scaling=constrained, axes=boxed,color=blue);

So... when i pressed enter it did nto do anything but retype the equation.

I need it to graph, I know this input is right because I looked at the teacher's example and it made a graph, but when I copy and pasted the teacher's example there were no graph. I believe this maybe mean that I need to do some setting changes maple, but where?

 

with(plots)

Before you can use spacecurve, you need to load the plots package:

 

with(plots);

 

Doug Meade's picture

with( plots ):

When Maple simply spits back a plotting command like this, it suggests to me that Maple does not know the command you are using. In this case, spacecurve is a command in the plots package. If you execute with( plots ): before your command, you will see the picture. (You can also replace spacecurve with plots:-spacecurve.) Implement either of these changes and the plot appears.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu       
Phone:  (803) 777-6183         URL:    http://www.math.sc.ed

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}