Question: vertical lines

Hi Maple experts and others,

We want to make a graph with 6 vertical lines.  One end of every vertical line will be on the x axis.  The other end of the vertical lines will be on integers of data points.

 


 

> 

3+2

5

(1)
> 

ab := Vector[row](6); cd := Vector[row](6)

ab := Vector[row](6, {(1) = 5, (2) = 8, (3) = 11, (4) = 14, (5) = 17, (6) = 20})

 

cd := Vector[row](6, {(1) = 1, (2) = 2, (3) = 3, (4) = 4, (5) = 5, (6) = 6})

(2)
> 

for count to 6 do ab[count] := 3*count+2; cd[count] := count end do;

5

 

1

 

8

 

2

 

11

 

3

 

14

 

4

 

17

 

5

 

20

 

6

(3)
> 

ab

Vector[row]([5, 8, 11, 14, 17, 20])

(4)
> 

cd

Vector[row]([1, 2, 3, 4, 5, 6])

(5)
> 

> 

``


 

Download a_try.mw

Please assist us.

Regards,

Matt

 

Please Wait...