Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!ai-lab!ai.mit.edu!sundar From: sundar@ai.mit.edu (Sundar Narasimhan) Newsgroups: comp.windows.x Subject: Re: Anyone got a graph widget (Athena and/or Motif)? Message-ID: <14362@life.ai.mit.edu> Date: 26 Mar 91 16:05:56 GMT References: <1991Mar26.073847.26457@melba.bby.oz.au> Sender: news@ai.mit.edu Reply-To: sundar@ai.mit.edu Organization: MIT Artificial Intelligence Laboratory Lines: 27 In article <1991Mar26.073847.26457@melba.bby.oz.au>, gnb@bby.oz.au (Gregory N. Bond) writes: |> Yet another FAQ, without a doubt. |> |> Does anyone have a graph widget that will do multiple line and/or bar |> graphs on the one surface? I am looking for fairly basic |> business-type graphics. |> |> I have seen graph.tar.Z from trix.ai.mit.edu (as named in the X FAQ |> list). It seems OK, but only one line graph at a time, and no bar |> graphs (from what I can tell; there is no documentation...) Geez. I didn't know this was on the FAQ list. Anyways, to answer your questions: graph.tar.Z on trix.ai.mit.edu has been updated. It DOES do many line graphs at a time and always did (i.e. you can call graph_add(), graph_add_array() etc.. multiple times). It also has a rudimentary histogramming capability. (try setting *graph*histogram: true -- Ok. It doesn't use flashy tiles -- it just draws rectangles). I also included a doc/doc.tex file which is a version of the documentation that still hasn't quite caught up to the code. :-) New resources that aren't documented: *markpoints: Bool (says if points should be highlighted) *pointstyle: String (one of square, hatch, box) *histogram: Bool As usual, send bug reports/suggestions/enhancements etc. to me.