plotting-data/questions.rst
changeset 416 06ac45f4de88
parent 399 3c16961361cd
equal deleted inserted replaced
415:8afa31ae6129 416:06ac45f4de88
    17 
    17 
    18    square(distance_values)
    18    square(distance_values)
    19    
    19    
    20  
    20  
    21 
    21 
    22 3. How do you plot points ?
    22 3. How do you plot the data as points using plot function?
    23 
    23 
    24    By passing an extra parameter '.'.
    24    By passing an extra parameter '.'.
    25 
    25 
    26 .. #[[Anoop: It can better if asked as, How do you plot the data as
    26 .. #[[Anoop: It can better if asked as, How do you plot the data as
    27    points using plot function?]]
    27    points using plot function?]]
    28 
    28 
    29 4. What does the parameter 'o' do ?
    29 4. Can you comment about the result of this plot command .
       
    30    plot(x, y,'o')
       
    31 
    30 
    32 
    31    It plots large points.
    33    It plots large points.
    32 
    34 
    33 .. #[[Anoop: give an example and ask what it does, like plot(x, y,
    35 .. #[[Anoop: give an example and ask what it does, like plot(x, y,
    34    'o'), that makes the question simple]]
    36    'o'), that makes the question simple]]