# Mathematical Graphing question

• Mathematica
Science Advisor
Hey, I was wondering if any of you know if it's possible to graph functions in mathematica with respect to a constant instead of a real number.

For example, plot the function ax from 1 to 10.

Is there any way to get it to plot this and just realize it needs to throw a's on the vertical axis, or do I always have to specify a definite value of the constant?

## Answers and Replies

CompuChip
Science Advisor
Homework Helper
Do you mean you want to plot y = a x for several values of a, like so:
Code:
Plot[Table[a x, {a, 1, 10}], {x, -2, 2}]