Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

On to the tedious part that is Step 3. This involves mapping the bus number to its abbreviated name, display name and its co-ordinates in the paper space.

rncpg = [51,32] # mapping of bus to position in paper space
parupg = [227,97] 
mthnpg = [247,144] 
mthnrb = [220,155] 


busMark = [
    [45400, rncpg, 'Ranchi(PG)'], # mapping of bus to it abbreviated name and display name
    [45401, parupg, 'Parulia(PG)'],
    [45403, mthnpg, 'Maithon(PG)'],
    [44400, mthnrb, 'MaithonRB'] 
    ]

Getting a presentable layout will require a lot of rearrangements. A diagram can say more than a thousand words. But getting it right can be a real pain in the ....

On to the tedious part that is Step 3. This involves mapping the bus number to its abbreviated name, display name and its co-ordinates in the paper space.

rncpg = [51,32] # mapping of bus to position in paper space
parupg = [227,97] 
mthnpg = [247,144] 
mthnrb = [220,155] 


busMark = [
    [45400, rncpg, 'Ranchi(PG)'], # mapping of bus to it abbreviated name and display name
    [45401, parupg, 'Parulia(PG)'],
    [45403, mthnpg, 'Maithon(PG)'],
    [44400, mthnrb, 'MaithonRB'] 
    ]

Getting a presentable layout will require a lot of rearrangements. trial and error. A diagram can say more than a thousand words. But getting it right can be a real pain in the ....