swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Let's write some Java GUI (Re: Histogram


From: Pietro Terna
Subject: Re: Let's write some Java GUI (Re: Histogram
Date: Mon, 22 Jan 2001 22:52:15 +0100

        Many thanks to Paul and Marcus,

        Pietro

At 08.58 22/01/2001 -0600, you wrote:
I just used PTPLOT3.1 to make a program that creates histograms,
barcharts, and time plots.  I can send an example, its not perfect
because it has some bugs that stop swarm from shutting down.  But it is
perfectly nice looking, you should get the ptplot library and try it
out.

http://ptolemy.eecs.berkeley.edu/java/ptplot3.1/ptolemy/plot/doc/index.htm

In the users-contrib dir at ftp.swarm.org, there is an app called jipd
that uses ptplot, and it is fun to see too, and it shuts down nicely.

Now, in the "recruiting volunteers" department:

On another front, I've been trying to write (in JAVA) a replacement for
Swarm's ZoomRaster.  I want to do this because Java will let me write
text on the raster, and it has some other features I like.  I'm about
1/2 of the way there, but could use one or a few Java programmers to
take a look and give me some ideas.  And answer some questions. If you
might be interested, email me and we can get this taken care of.  I've
got a working program example to show you, but it lacks many of the
methods we will have to implement to have a complete replacement for
ZoomRaster.


"Marcus G. Daniels" wrote:
>
> >>>>> "PT" == Pietro Terna <address@hidden> writes:
>
> PT>     Referring to ObjctiveC Market example, useHisto is an instance
> PT> of Histogram class (in MarketObserverSwarm.m).
>
> PT>     What is the equivalent tool in javaswarm? My need it that of
> PT> plotting each item of a fixed length vector, not a distribution.
>
> The Histogram interface has some methods with arguments that are pointers,
> so it can't be used in the same way as the Objective C interface.
>
> Also, most of the GUI-related interfaces are in fact disabled even though
> they would work.  The goal of that is to minimize further propagation and
> dependence on the Tk interfaces and encourage members of the user community
> to help develop and contribute something better.
>
> To get the Histogram interface in Java (the subset of methods that do
> map to Java), edit etc/interface.el, and precede the first occurence
> of the word "Histogram" with a ";".  Then rebuild Swarm.
>

--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]