other-type-of-plots/questions.rst
changeset 288 a3b98b4c371e
child 289 3b801e60246a
equal deleted inserted replaced
287:d9507624eb8f 288:a3b98b4c371e
       
     1 Objective Questions
       
     2 -------------------
       
     3 
       
     4 .. A mininum of 8 questions here (along with answers)
       
     5 
       
     6 1. What is a log-log chart?
       
     7 
       
     8    a. A straight line graph
       
     9    #. A graph on the logarithmic scale
       
    10    #. A graph on the logarithmic scale with different scales for x and
       
    11       y axes
       
    12    #. A graph in which x axis is represented in logarithmic scale.
       
    13 
       
    14 Answer: A graph on the logarithmic scale with different scales for x
       
    15  	and y axes
       
    16 
       
    17 2. We have two lists with us ``years`` and ``profit``, what statement
       
    18    can be issued to plot a pie chart to plot the profit for each year,
       
    19    and each wedge has to be labelled with the corresponding year.
       
    20 
       
    21 Answer: pie(profit, labels=years)
       
    22 
       
    23 3. 
       
    24 
       
    25 Larger Questions
       
    26 ----------------
       
    27 
       
    28 .. A minimum of 2 questions here (along with answers)
       
    29 
       
    30 1. Plot a log-log chart of the equation y=4*x\ :sup:`2` + 3*x for x
       
    31    from -50 to 50.
       
    32 
       
    33 2. Plot a bar chart which is filled with white color and which is
       
    34    hatched with 135\ :sup:`o` slanting lines for the data given in the
       
    35    `file(company A data) <company-a-data.txt>`_ which has years and
       
    36    profit percentage for each year.
       
    37