home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / discs / pipeline / 7_06 / ReadMe < prev    next >
Text File  |  1994-02-02  |  7KB  |  151 lines

  1. %OP%VS4.13 (28-Apr-92), Gerald L Fitton, R4000 5966 9904 9938 
  2. %OP%DP0
  3. %OP%IRY
  4. %OP%PL0
  5. %OP%HM0
  6. %OP%FM0
  7. %OP%BM0
  8. %OP%LM4
  9. %OP%PT1
  10. %OP%PDPipeLine
  11. %OP%WC1026,2262,48,1748,0,0,0,0
  12. %CO:A,72,72%
  13. %C%Charts from the Beginning - Part 3
  14. %C%by Gerald L Fitton
  15. Keywords:
  16. Multiple Non-consecutive Charts Fitton
  17.  
  18. Warning!
  19.  
  20. Apart from this [ReadMe] file, do not attempt to load and run any of 
  21. the other files in this directory from the master disc!
  22.  
  23. Why is this?  Colton Software's hot linked graphics package operates by 
  24. saving copies of chart files back to disc.  The original file I have 
  25. included in this directory will be over written.  For that reason I 
  26. strongly suggest that you work with back up copies of the files in this 
  27. directory rather than the originals.
  28.  
  29. You can read more about using backup files rather than originals 
  30. (including the creation and use of a RAM disc to hold working copies of 
  31. the files) in the directory Charts01 (the first of the 'Charts from the 
  32. Beginning' tutorials) on another disc.
  33.  
  34. Outline Fonts
  35.  
  36. To use the PipeDream Charts facility you will also need outline fonts.  
  37. The Homerton and Trinity fonts must be loaded (if in doubt then click 
  38. on the !Fonts application) before you load PipeDream to the icon bar.  
  39. PipeDream only recognises those fonts which have been loaded before it 
  40. is.  PipeDream can not add fonts to its 'private' font list after it 
  41. (ie PipeDream) has been loaded to the icon bar.  If you don't know 
  42. whether you had the fonts loaded when you loaded PipeDream then Quit 
  43. PipeDream, make sure the fonts are loaded and then load PipeDream back 
  44. to the icon bar.
  45.  
  46. Again, you can read more about my approach to this need for outline 
  47. fonts in Charts01.  If you send us a Charts application for inclusion 
  48. in PipeLine then please use only the Homerton and Trinity fonts.
  49.  
  50. Introduction
  51.  
  52. In this, the third tutorial of the Charts series I am going to explain 
  53. how you can draw multiple bar charts using data which is not in 
  54. consecutive rows.  Although I shall concentrate on bar charts, the 
  55. principles I explain can be used to draw multiple line graphs using 
  56. data which is not in consecutive rows.
  57.  
  58. Before I start, let me acknowledge that the inspiration for this 
  59. article was a problem sent to me by Peter Paddisson.  It is his [Stats] 
  60. file which I am using as the data for this tutorial.  I believe that 
  61. the file is the monthly rainfall measured in inches and the original 
  62. data he sent me runs from 1888 to about 1970.  I'm sorry but I forget 
  63. which part of the UK it was for!
  64.  
  65. If any of you do have problems with Charts (or with anything else) then 
  66. it is most likely that others are having similar problems and that the 
  67. solution will almost certainly be of interest to other PipeLine 
  68. subscribers.  Let me make my usual plea for you to send me a worked 
  69. example of your problem on a disc so that I can work through the 
  70. solution using your data files.
  71.  
  72. The Statistics
  73.  
  74. I have included a reduced version of Peter's [Stats] file because the 
  75. original is 19áKb whereas the [Stats] file I'm using is only 2áKb.
  76.  
  77. Double click on [Stats] and you will see that the month names are in 
  78. row 2, the year names in column A and the data in the block B3M12.  
  79. Peter has calculated an average in column N.  We won't be using it in 
  80. this tutorial but I would like to see a line graph of the 12 month 
  81. moving average at some time - but not today!
  82.  
  83. The Easiest Chart
  84.  
  85. Mark the block A2M3 and then execute <CtrláCHN> (CHart New).  You will 
  86. find yourself with a chart which looks much like [Chart1888], the only 
  87. difference being that in the chart you have just produced all the bars 
  88. are red whereas, in [Chart1888], the colours of the bars cycle through 
  89. a set of nine colours.  You can 'convert' your chart to one of many 
  90. colours by executing the following sequence.  Click the mouse menu 
  91. (middle) button on the chart (not on the data) and a menu called Chart 
  92. will pop-up.  Run the pointer through Gallery and click on Bar.  In the 
  93. version of PipeDream which I have (Vá4.13) there are seven types of bar 
  94. chart presented, a top row of three and a bottom row of four.  Click on 
  95. the third from the left (the right most) of the bar chart types in the 
  96. top row and your bar chart will turn into one having nine differently 
  97. coloured bars.
  98.  
  99. Separated Rows
  100.  
  101. Now for a harder problem.  How to draw a bar chart for the 1889 data 
  102. without including one for the 1888 data.
  103.  
  104. Mark the block [Stats]B2M2 which contains Jan to Dec.  Be careful; make 
  105. sure that you do not include neither A2 nor N2.  I find the easiest way 
  106. of marking the block B2M2 to click select in B2 and click adjust (the 
  107. right mouse button) in M2.
  108.  
  109. Execute <CtrláCHN> to create a new chart.  You will see a pop-up 
  110. message box which reminds you that there is no numeric data in the 
  111. marked block.  Although there is no numeric data you must choose to 
  112. continue by clicking on the Yes box.
  113.  
  114. Place the pointer in the new chart and click the mouse menu button.  
  115. Select Galleryá-áBar and then select the third type of bar chart from 
  116. the first row of bar charts.  That is the one which gives the multi 
  117. colour bars.  Finally, click on the OK box.
  118.  
  119. Mark the block [Stats]A5M5 (note that the year is included in the slot 
  120. A5) and then execute <CtrláCHA> (CHart Add) to add the data to the 
  121. (blank) chart.  You will observe that the legend (contained as text in 
  122. slot A5) shows in the chart as year 1890.
  123.  
  124. Two Sets of Data on One Chart
  125.  
  126. You can add a second set of data to a bar chart but, personally, I 
  127. don't really like the result.  I prefer the multiple line graph of 
  128. [1888_1889].  The method of crating a line graph with multiple lines, 
  129. adding as many as you like, by a second and third line is fairly 
  130. straightforward.
  131.  
  132. Mark the block B2M2 and execute <CtrláCHN>.  Click on Yes to proceed 
  133. even though there is no numeric data in the marked block.  When the 
  134. box containing the Chart appears click menu - Bar - Line.  Turn off the 
  135. 3D button, ensure that the first type of line chart has been selected 
  136. (the one at the top left) and click on OK.
  137.  
  138. Now you can mark any row such as the 1889 results in A4M4 and execute 
  139. <CtrláCHA> to draw the line graph for that year's data.
  140.  
  141. If you mark a block such as A6M9 to include three year's data then you 
  142. will draw three lines at once (all in different colours)!
  143.  
  144. In Conclusion
  145.  
  146. If you do have any problems with creating the Chart you want, then, 
  147. like Peter, please send me a disc file of typical data and an 
  148. indication of the many things you've tried that didn't work.  It does 
  149. save me considerable time and allows me to send you back a reply which 
  150. uses your data and a chart in the format you want.
  151.