Lazarus

As you can see on the other pages, I am interested in Delphi and Linux.
So I was very pleased to find information on the Lazarus project: I started working on porting my Delphi programs to Lazarus and found out that it was very easy to port my Delphi 1 programms.
What I discovered very soon when trying to port my Delphi 5 programs was the lack of the Chart component. So I started programming a replacement for it.
The result was the PlotPanel component
Whit this component you can draw up to 8 plots in one diagram, it has auto scalling properties and has the ability to show animated plots. The TryPlotPanelDemo program allows you to try Plotpanel without installing the component This program gives you some hints for your own program ideas.


Screenshot



You can download this component (version 0.91) here:

Download plotpanel_l.zip

There seems to be some problems with the LRS file in the Demo programs. Here is an updated version that should run on Lazarus 0.9.26
This version also allows you to place a label at the x and y axis
The licence is also changed to LGPL now.
Download plotpanel_lazarus_0.95.zip

A nice feature to change the Marks along X and Y axis was supplied by Jorge Solla. You can find those extentions in version 0.96:
Download plotpanel_lazarus_0.96.zip



Here is a short description of this component:

PlotPanel
PlotPanel is a component for Delphi or Lazarus to replace (more or less) the TChart component.
With PlotPanel you can draw line- , dot- and bar-graphs. Animated graphs are also possible.
This software is presented as is, without any written warranty. So use the software at your own risk.
Installation

To Install the PlotPanel component in Delphi you have to do the following:


After you have done that all, there must be a new Tab in the component palet with the name "Extra". You can use the Plotpanel now

Run the PlotPanelDemo to explore the features of PlotPanel. N.B. You can try PlotPanel without installing the component by running TryPlotPanel!

Description of the PlotPanel component

This is a very rude description of the component. See the examples for an explanation of how to use the component. The PlotPanel component is derived from the TCustomPanel-component. To this Panel plotting capabilities are added.

Properties inherited from TCustomPanel



The X-axis properties:



For the Y-axis the same applies.

Methods:




To encourage other people to use Lazarus I have converted some programs from Delphi to Lazarus. You have to compile the programs yourself. All source code is free under terms of the GPL
See a description of these programs elsewere on this site

A simple game, but teasing when you don't know how to solve it
Download lazlucas.zip

Educational program to demonstrate how light is focussed by a lens
Download lazlens.zip

Demonstration af additive color mixing
Download lazcolor.zip

Calculation of frequency, capacitance and inductance in series or parallel resonance circuits
Download lazlcf.zip

Make Me Small
The programs compiled with the current version of Lazarus tend to be big. With this program you can reduce the size by a factor of 10 to 20!
Download lazmakemesmall.zip


Most programs have an educational purpose, but some are usefull for serious applications.
You can use this software under the terms of the GPL.