swarm-support
[Top][All Lists]
Advanced

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

Swarm : EZBin Histogram


From: Tomas Gudmundsson
Subject: Swarm : EZBin Histogram
Date: Wed, 11 Dec 1996 09:43:25 +0000

Hi !

I have a problem making a histogram using EZBin. When the mouse pointer enters 
the window the following message appears :

  tkerror failed to handle background error.
    Original error: bad option "W": must be -displayof, -force, or -  lastfor
    Error in tkerror: no value given for parameter "title" to "tk_dialog"

Any help appreciated !
Tomas Gudmundsson

The code :
  ----------------------------------------------------------------------------
  // Create the graph widget to display average biomass
  omnivoreAgeHistoGram = [EZBin createBegin: [self getZone]];
  [omnivoreAgeHistoGram setTitle: "Age Distribution"];
  [omnivoreAgeHistoGram setAxisLabelsX: "Age" Y: "N"];
  [omnivoreAgeHistoGram setBinNum: 10];
  [omnivoreAgeHistoGram setLowerBound:   0.0];
  [omnivoreAgeHistoGram setUpperBound: 250.0];
  [omnivoreAgeHistoGram setCollection: [model getOmnivoreList]];
  [omnivoreAgeHistoGram setProbedSelector: M(getAge)];
  omnivoreAgeHistoGram = [omnivoreAgeHistoGram createEnd];
  ...
  [displayActions createActionTo: omnivoreAgeHistoGram
    message: M(reset)];
  [displayActions createActionTo: omnivoreAgeHistoGram
    message: M(update)];
  [displayActions createActionTo: omnivoreAgeHistoGram
    message: M(output)];
  ----------------------------------------------------------------------------



reply via email to

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