Hi,
I have a dataset with a list of distances (expressed in metres). Is there a way to chart the difference between point1-2, point2-3 and so on? Ideally i would like a histogram - plotting delta distance.
If i have to do this manually then so be it.
Simon
Delta/Difference Function?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Simon,
I'm afraid this is not possible for now. You'll have to do this manually, for example:
I'm afraid this is not possible for now. You'll have to do this manually, for example:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
Series1.FillSampleValues();
for i:=1 to Series1.Count-1 do
begin
Series2.AddXY(Series1.XValue[i], Series1.YValue[i]-Series1.YValue[i-1]);
end;
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |