On Oct 23, 11:33 pm, Eric Kangas <eric.c.kan...@gmail.com> wrote:
> Hi,
>
> I have one function that I need to plot in an array with different
> values for two constants. I would like to only have to repeat the
> function once, and go off of a string of different variables to
> produce this array. Is that even possible in Sage? Or am I stuck with
> repeating the function over and over again for the graphics array?

For example:

sage: graphics_array([[plot(sin(k*x/m),(x,0,pi)) for k in [1,2]] for m
in [1,2]]).show(frame=True,axes=False)

A Ch

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to