Contours are not connected for some data

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
VarUser
Newbie
Newbie
Posts: 23
Joined: Mon Sep 15, 2008 12:00 am

Contours are not connected for some data

Post by VarUser » Fri May 07, 2010 12:01 pm

Hi

We have some data for which contours doesn't seem to be connected properly.
Can you please let me know what is the actual problem and how can I fix it.

I have uploded a ready to run application with the mentioned data files on "http://www.steema.net/upload" site.
File name is Contours.zip.
It contains three files for x, y and z data.

Regards
- Jeevan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Contours are not connected for some data

Post by Narcís » Fri May 07, 2010 3:12 pm

Hi Jeevan,

I'm afraid it's just data nature. You could try adding an additional column and row with similar Y values to see if Contour series automatically generates "connected" levels. Alternatively you could define your own custom levels as shown at the All Features\Welcome !\Chart styles\Extended\Contour\Custom Levels example in the features demo available at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

VarUser
Newbie
Newbie
Posts: 23
Joined: Mon Sep 15, 2008 12:00 am

Re: Contours are not connected for some data

Post by VarUser » Wed May 12, 2010 7:34 am

Hi Narcis

Thanks for your reply.
I didn't quite understand how using custom levels will solve this issue. Actually we are using custom levels and even then it showed similar reason.
Also we tried plotting same data in Matlab and it worked nicely.
Can you please help me with this.

Regards
- Jeevan

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Contours are not connected for some data

Post by Yeray » Fri May 14, 2010 9:10 am

Hi Jeevan,

Could you please attach here an image showing us the result that Matlab is giving to you with that points?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

VarUser
Newbie
Newbie
Posts: 23
Joined: Mon Sep 15, 2008 12:00 am

Re: Contours are not connected for some data

Post by VarUser » Mon May 17, 2010 8:19 am

Hi Yeray

I have attached the snapshot from Matlab
Matlab_tchart_Contour_Comparison.JPG
Comparison of Matlab and tChart contours
Matlab_tchart_Contour_Comparison.JPG (107.46 KiB) Viewed 5967 times
.

Regards
- Jeevan

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Contours are not connected for some data

Post by Yeray » Tue May 18, 2010 1:05 pm

Hi Jeevan,

We are getting the same result than you. I've added it to the wish list to be revised for further releases (TF02014896).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply