Search found 11 matches

by Paul Holden
Mon Nov 28, 2022 10:02 am
Forum: VCL
Topic: Contour Levels Pen Editor
Replies: 1
Views: 3491

Contour Levels Pen Editor

I am trying to use the components in VCLTee.TeePenDlg to make a contour levels editor for a TContourSeries. All works fine except for the pen color, which has no effect. Why is this and is there a way to way to set the contour level line color with these controls? Edit: The problem seems to be conto...
by Paul Holden
Tue Nov 08, 2022 2:14 pm
Forum: VCL
Topic: "Carpet Plot" Labels
Replies: 5
Views: 4398

Re: "Carpet Plot" Labels

Thanks, but it isn't really what I need. I am now thinking of using the component Tag property to mark sets of annotations for deletion, which should work. But in some cases it would still be better to have a fixed annotation "Name" available rather than having to store a link to the annotation so t...
by Paul Holden
Tue Nov 08, 2022 11:54 am
Forum: VCL
Topic: "Carpet Plot" Labels
Replies: 5
Views: 4398

Re: "Carpet Plot" Labels

Is there a best practice for managing Annotations created at run-time as in your example? The main problem I am having is coping with repaints/rebuilds creating multiple copies of the same thing. The annotations don't seem to have a fixed name and selective deletion from the Tools array would rely o...
by Paul Holden
Thu Nov 03, 2022 11:28 am
Forum: VCL
Topic: "Carpet Plot" Labels
Replies: 5
Views: 4398

"Carpet Plot" Labels

I am trying to build a "Carpet Plot" of 2 intersecting groups of "Iso Lines" with labels on the lines showing the Iso value of the line. As the data grid is based on the 2 Iso parameters, I can't plot them as contours in TeeChart, so I have created a grid of XY Line series. I could not find any way ...
by Paul Holden
Wed Sep 21, 2022 9:12 pm
Forum: VCL
Topic: Chart Editor - Losing Contour Levels Tab
Replies: 5
Views: 3970

Re: Chart Editor - Losing Contour Levels Tab

I think it was a reference to VCLTee.TeeChartBook that exposed the dependency. All a bit random - you might want to think about tidying it up at some point.
by Paul Holden
Mon Sep 19, 2022 2:36 pm
Forum: VCL
Topic: Chart Editor - Losing Contour Levels Tab
Replies: 5
Views: 3970

Re: Chart Editor - Losing Contour Levels Tab

Thanks. Adding TeeContourEdit to the form unit hosting the editor worked fine. I have no idea why the other app showed the contour level tab as that form also did not use TeeContourEdit.
by Paul Holden
Tue Sep 06, 2022 5:49 pm
Forum: VCL
Topic: Chart Editor - Losing Contour Levels Tab
Replies: 5
Views: 3970

Chart Editor - Losing Contour Levels Tab

I have 2 applications which contain contour series built in code as follows: var aContourSeries := Chart.AddSeries(tContourSeries) as tContourSeries; In one application the chart editor "Series" tab has 5 sub-tabs including "Format" and "Grid 3D" in the other application these tabs are missing. With...
by Paul Holden
Thu Dec 23, 2021 8:29 pm
Forum: VCL
Topic: Non-orthoganal data in a tContourSeries
Replies: 5
Views: 5219

Re: Non-orthoganal data in a tContourSeries

Yes, that is pretty much what I did to create the sfc chart I posted previously. My problems are 1) it is computionally intensive to identify the null points (above 100% throttle) 2) the top edge of the contour map is rather ragged, even with reasonably close spacing on the grid. The 100% throttle c...
by Paul Holden
Tue Dec 21, 2021 5:07 pm
Forum: VCL
Topic: Non-orthoganal data in a tContourSeries
Replies: 5
Views: 5219

Re: Non-orthoganal data in a tContourSeries

Here is a bit more background: I am trying to create this chart: Contours.png The black lines in the contour chart are constant Throttle values and a regular grid of sfc=f(Throttle,RPM) is available. Also, BMEP ("Z" in the contour map) is known at each RPM and Throttle operating point. Data outside ...
by Paul Holden
Tue Dec 21, 2021 3:31 pm
Forum: VCL
Topic: Non-orthoganal data in a tContourSeries
Replies: 5
Views: 5219

Re: Non-orthoganal data in a tContourSeries

Sorry that was a bad example. This is more like what I want to do: Series1.AddXYZ(1, 5, 1.0); // D=1 Series1.AddXYZ(2, 10, 2.0); // D=1 Series1.AddXYZ(3, 20, 3.0); // D=1 Series1.AddXYZ(1, 6, 1.1); // D=2 Series1.AddXYZ(2, 12, 2.1); // D=2 Series1.AddXYZ(3, 25, 3.1); // D=2 Series1.AddXYZ(1, 8, 1.2)...
by Paul Holden
Sat Dec 18, 2021 2:29 pm
Forum: VCL
Topic: Non-orthoganal data in a tContourSeries
Replies: 5
Views: 5219

Non-orthoganal data in a tContourSeries

Is there any way to build a tContourSeries with a non-orthoganal regular grid? So for instance, I have a 3x3 set of Operating Points with 4 parameters such as: A B C D 1 5 1 1 2 10 2 1 3 20 3 1 1 6 1 2 2 12 2 2 3 25 3 2 1 8 1 3 2 15 2 3 3 28 3 3 And I want to plot XYZ using parameters A, B & C. I am...