anita@utastro.UUCP (Anita Cochran) (04/30/88)
I am trying to do a fancy bar graph with PicTeX and I can't figure out how to get it to do something for me. The form of the bar graph is similar to that of Figure 10 in the PicTeX manual. However, instead of plotting 2 bars at each interval, I want to plot 3 bars. I would have a black bar, a white bar and bar that is shaded in some manner. I tried using \shaderectanleson. This did shade the bars but not necessarily very uniformly. Some bars were shaded on their left side, some on the right, some in the middle and some not at all. I tried changing the symbol to an X to see the effect better and it confirms that it is not uniform in its placement. As best I can figure out, it has to do with the shade spacing grid and the bar spacing grid. But I do not know how to tell it to get them synced. Can anyone help me here (can anyone even understand what I am trying to do?)? I was able to crudely accomplish what I wanted by doing a setbars to a much narrower bar than the one I wanted shaded, doing a setdots and replotting the data with this new bar. That resulted in a bar with a single vertical stripe. This is good but might not be well differentiated from the black one when the figure is reduced by the journal. Another PicTeX question: I would like to plot astronomical spectra. These have an x axis which naturally goes from 3500 to 6500. I can figure out how to do this by scaling my data and labeling appropriately but is there a way I can put in the data in its natural units and have PicTeX do the translation to the plot units? As you can probably tell I am a PicTeX novice. Answers to my questions might be in the manual but PicTeX is so new a concept to me that I haven't quite figured it out. Thus, if your answer to my questions is RTFM, send you response to /dev/null. Otherwise, please e-mail me the answers. -- Anita Cochran uucp: {noao, ut-sally, ut-emx}!utastro!anita arpa: anita@astro.as.utexas.edu snail: Astronomy Dept., The Univ. of Texas, Austin, TX, 78712 at&t: (512) 471-1471