StevenC

0 Reputation

2 Badges

12 years, 328 days

MaplePrimes Activity


These are questions asked by StevenC

Hi,

I'm relatively new to Maple and was wondering if there was a way to use a do loop to plot a succession of graphs with different colors and legends.
So far I have

for C to 7 do
S := 'S';
S := .7+.1*C;
p || C := plot(R[123], lambda = 5 .. 25, y = 0 .. 1, legend = "S=0.7+(0.1*C)")
end do ;

display(p1,p2,p3,p4,p5,p6,p7);

But I can't figure out how to actually get the legend to update or to assign a new color to each line.

Page 1 of 1