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
Renamed a TSQLQuery compo...
by
Thaddy
[
Today
at 10:54:18 pm]
Little bit...
by
Thaddy
[
Today
at 10:08:55 pm]
Untitled raycaster game (...
by
hukka
[
Today
at 09:29:05 pm]
FPC 3.2.4-rc1 available
by
marcov
[
Today
at 08:08:03 pm]
Error: Compilation raised...
by
cdbc
[
Today
at 07:02:50 pm]
IDE Coolbar
by
staratel20
[
Today
at 07:02:23 pm]
Building units fails afte...
by
NormanDunbar
[
Today
at 06:39:32 pm]
I hope FreePascal can sup...
by
marcov
[
Today
at 06:03:54 pm]
FPC Unleashed (inline var...
by
ccrause
[
Today
at 04:10:31 pm]
Elite Arcade
by
Guva
[
Today
at 03:41:28 pm]
[SOLVED] Cannot build Uni...
by
Thausand
[
Today
at 02:18:34 pm]
default pin settings, atm...
by
ccrause
[
Today
at 11:45:37 am]
TChart how setup nicestep...
by
eldonfsr
[
Today
at 05:18:14 am]
AI assisted translation o...
by
schuler
[
Today
at 03:07:59 am]
Can I get the position an...
by
wp
[
Today
at 12:23:04 am]
Translate .lfm file in a ...
by
wp
[
Today
at 12:07:11 am]
Playing video without to ...
by
n7800
[April 17, 2026, 11:51:39 pm]
Delimited text - how find...
by
n7800
[April 17, 2026, 11:28:25 pm]
overloading issues fpc3.2...
by
Martin_fr
[April 17, 2026, 10:21:07 pm]
Ann: Deinline: a de-inlin...
by
LeP
[April 17, 2026, 09:58:08 pm]
Seeking advice on setting...
by
schuler
[April 17, 2026, 03:36:28 pm]
Ann: DeCoperators
by
DomingoGP
[April 17, 2026, 03:23:39 pm]
TLazSerial : serial port ...
by
CM630
[April 17, 2026, 09:50:34 am]
[Solved] Help needed comp...
by
landolfi
[April 17, 2026, 02:45:10 am]
DataPort or Synpase stat...
by
eldonfsr
[April 16, 2026, 11:32:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: contour serie (Read 3643 times)
apeoperaio
Sr. Member
Posts: 295
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: 1275
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: 13489
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: 295
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: 13489
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