Question: plot with for some intervals of X-values

Dear friends,

The commands below generates a graphic. Hower I would like two things:

1. That the Y values are from 0 to 0.7 (in the example before it goes --by default--only until 0.5).

2. To represent in the X-axe the values from from 1-10, 100-110 and 500-510. I do mean, axe-X excluding 11 to 99, 111 to 499.

Here the commands:

restart:
ww:= [seq( [n, add(1/(n+1), k=ceil(1/3*n)..floor(2/3*n))], n=1..10)]:
plot(ww, style=point):
plot(1/3,0..10,color=blue):
plots:-display(%,%%);

 

Thanks for you attention (I am using MAPLE 14).

 

Jean-Jacques

Please Wait...