Hello,
We have some performance problems drawing large TColorGridSeries of sparse matrices, see attached plot. Basically, there is only the small diagonal patch in the middle where there is data to plot:
The area of the Red Triangles is empty and doesn’t contain any data. Is there a way to speed up handling and drawing by telling the plot that there are parts of the data that don’t need to be plotted?
Thanks and best regards,
Thomas
Performance Issue
Re: Performance Issue
Hello Thomas,
Do you have a simple example we can run as-is to reproduce the situation here?
Thanks in advance.
Do you have a simple example we can run as-is to reproduce the situation here?
Thanks in advance.
Best Regards,
![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Re: Performance Issue
Hello Yeray,
By Binning the Matrix down to about screen resolution I was able to improve the performance.
In addition I used Series.SetNull(Index) to hide areas.
Like this:
if FIsoLines3D then
begin
var IndexSurface := ScanSurfaceSeries.AddXYZ(aX, ScanSurfaceSeries.DefaultNullValue, aZ);
ScanSurfaceSeries.SetNull(IndexSurface);
end else
begin
var IndexColorGrid := ScanColorGridSeries.AddXYZ(aX, ScanColorGridSeries.DefaultNullValue, aZ);
ScanColorGridSeries.SetNull(IndexColorGrid);
end;
This works nicely for TColorGridSeries but it obviously doesn't work for SurfaceSeries!?
Please see Screen Shots.
Thanks and best regards,
Thomas
By Binning the Matrix down to about screen resolution I was able to improve the performance.
In addition I used Series.SetNull(Index) to hide areas.
Like this:
if FIsoLines3D then
begin
var IndexSurface := ScanSurfaceSeries.AddXYZ(aX, ScanSurfaceSeries.DefaultNullValue, aZ);
ScanSurfaceSeries.SetNull(IndexSurface);
end else
begin
var IndexColorGrid := ScanColorGridSeries.AddXYZ(aX, ScanColorGridSeries.DefaultNullValue, aZ);
ScanColorGridSeries.SetNull(IndexColorGrid);
end;
This works nicely for TColorGridSeries but it obviously doesn't work for SurfaceSeries!?
Please see Screen Shots.
Thanks and best regards,
Thomas