Difference between revisions of "TFunctionPlot"

From Lazarus wiki
Jump to navigationJump to search
(Function plotting control)
 
Line 3: Line 3:
 
=== Usage ===
 
=== Usage ===
 
Almost the same as TCustomPlot (it can work the such way), but a new event (OnFunctionCall) is defined. You should write a function body in it, like
 
Almost the same as TCustomPlot (it can work the such way), but a new event (OnFunctionCall) is defined. You should write a function body in it, like
''
+
 
 +
 
 
begin
 
begin
 +
 
y=sin(x);
 
y=sin(x);
 +
 
end;
 
end;
''
+
 
 
Nothing more. Besides, AutoSizeX means nothing while plotting functions, you should set MinX and MaxX.
 
Nothing more. Besides, AutoSizeX means nothing while plotting functions, you should set MinX and MaxX.
 
Property DividingTabs means how many points will be used to tabulate (and then draw) the function.
 
Property DividingTabs means how many points will be used to tabulate (and then draw) the function.
 +
 
=== Author ===
 
=== Author ===
 
Presently Vasily I.Volchenko
 
Presently Vasily I.Volchenko

Revision as of 09:15, 21 November 2007

About

TFunctionPlot is a special function plotting control based on TCustomPlot.

Usage

Almost the same as TCustomPlot (it can work the such way), but a new event (OnFunctionCall) is defined. You should write a function body in it, like


begin

y=sin(x);

end;

Nothing more. Besides, AutoSizeX means nothing while plotting functions, you should set MinX and MaxX. Property DividingTabs means how many points will be used to tabulate (and then draw) the function.

Author

Presently Vasily I.Volchenko

License

modified LGPL (same as the FPC RTL and the Lazarus LCL). You can contact the author if the modified LGPL doesn't work with your project licensing.

Download

The latest stable release can be found on .

Change Log

  • Version 0.0.4 21.11.2007 - First Lazarus-CCR release (used before in other projects)

Dependencies / System Requirements

  • RTL, LCL

Status: Beta



Installation

  • Download and unpack plots.zip
  • Install plots.lpk via Lazarus IDE