Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
contour serie
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Benchmark: converting arr...
by
LemonParty
[
Today
at 03:25:25 pm]
FPC Unleashed (inline var...
by
Thaddy
[
Today
at 03:15:25 pm]
TStringGrid Question
by
Xenno
[
Today
at 03:06:38 pm]
Very rough version of a s...
by
Xenno
[
Today
at 03:01:55 pm]
Read/Parse PDB file to ge...
by
marcov
[
Today
at 02:48:12 pm]
Array of structure -> str...
by
LemonParty
[
Today
at 11:34:18 am]
[SOVLED]Curved text in La...
by
paweld
[
Today
at 11:00:52 am]
Fast Canvas Library V1.05...
by
microxa
[
Today
at 07:03:07 am]
"Identifier idents no mem...
by
Thaddy
[
Today
at 05:43:52 am]
Lazarus Main and Gnome/Wa...
by
Thaddy
[
Today
at 05:33:51 am]
[SOLVED] TPrintDialog Pro...
by
spuds
[
Today
at 01:30:20 am]
TPairsplitter could be be...
by
jamie
[
Today
at 12:36:34 am]
FloatToStr issue
by
J-G
[
Today
at 12:06:38 am]
Release ray4laz 6.0
by
Fred vS
[June 05, 2026, 09:06:27 pm]
Pascal for AI Agent CLI T...
by
Martin_fr
[June 05, 2026, 08:01:11 pm]
storing assets for releas...
by
flowCRANE
[June 05, 2026, 07:30:13 pm]
Benchmark aligned vs unal...
by
LeP
[June 05, 2026, 06:33:08 pm]
TstringGrid read cell col...
by
hedgehog
[June 05, 2026, 06:29:11 pm]
Range checks and `Move` o...
by
ASerge
[June 05, 2026, 05:17:19 pm]
Why is var after type in ...
by
Warfley
[June 05, 2026, 02:36:17 pm]
SnapModbus
by
ThomasK
[June 05, 2026, 01:40:22 pm]
Spell checking for IDE so...
by
Martin_fr
[June 05, 2026, 11:48:38 am]
Fix alt+letter dont show ...
by
mpau
[June 05, 2026, 04:02:50 am]
Conscious Artificial Inte...
by
schuler
[June 04, 2026, 11:14:34 pm]
LazNodeEditor (visual nod...
by
simone
[June 04, 2026, 08:05:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: contour serie (Read 3660 times)
apeoperaio
Sr. Member
Posts: 298
contour serie
«
on:
November 03, 2014, 11:23:19 am »
Is it possible with TAChart to draw a contour plot?
http://en.wikipedia.org/wiki/Contour_line
Thanks,
Andrea
Logged
jwdietrich
Hero Member
Posts: 1278
Re: contour serie
«
Reply #1 on:
November 03, 2014, 11:33:31 am »
Depending on your requirements, a ColorMap might be sufficient for your application, see
http://wiki.freepascal.org/TAChart_Tutorial:_ColorMapSeries,_Zooming
for details. However, a ColorMap isn't the same as a contour plot.
You might therefore consider to define a function series linked to a TParametricCurveSeries handler. With this technique it should be possible to implement a real contour plot. A possible result is the third example at
http://wiki.freepascal.org/TAChart_Demos#func
.
Logged
function GetRandomNumber: integer; // xkcd.com
begin
GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;
http://www.formatio-reticularis.de
Lazarus 4.2.0 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux
wp
Hero Member
Posts: 13543
Re: contour serie
«
Reply #2 on:
November 03, 2014, 01:55:23 pm »
Look at this old thread:
http://forum.lazarus.freepascal.org/index.php/topic,19399.msg114039.html
. It contains a "contour finder" class plus example for TAChart.
«
Last Edit: November 03, 2014, 01:57:13 pm by wp
»
Logged
apeoperaio
Sr. Member
Posts: 298
Re: contour serie
«
Reply #3 on:
November 05, 2014, 12:17:33 pm »
I had look at the thread, is it implemented in tachart? Since I didn't find ant contour unit in the tachart package.
Logged
wp
Hero Member
Posts: 13543
Re: contour serie
«
Reply #4 on:
November 05, 2014, 01:00:27 pm »
You are right, TAChart does not contain any contour units. But the attachment in one of the postings of the thread contains a complete demo project which shows how you can extend TAChart to draw contours.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
TAChart
(Moderator:
Ask
) »
contour serie
TinyPortal
© 2005-2018