|
2D surface chart? |
Posted by Daniel on Jan-30-2012 20:06 |
|
Hi all!
Is it possible to plot a 2D surface plot as I used to do it with pylab (attached file).
Thanx!
|
Re: 2D surface chart? |
Posted by Peter Kwan on Jan-31-2012 01:22 |
|
Hi Daniel,
In ChartDirector, we called this type of chart a "contour chart". See:
http://www.advsofteng.com/gallery_contour.html
If you draw the contour chart and configure the contour color to transparent (so there is no visible contour) and using the bilinear interpolation method (so the boundary between colors is "linear" instead of "curved"), the chart willl look similar to that in your message.
Hope this can help.
Regards
Peter Kwan |
Re: 2D surface chart? |
Posted by David on Feb-12-2012 07:27 |
|
Hi,
Can you explain how to use the bilinear Interpolation method with the Contour Chart? Is
there a specific method that I can call? Thx! |
Re: 2D surface chart? |
Posted by Peter Kwan on Feb-13-2012 22:35 |
|
Hi David.
The method to use is ContourLayer.setSmoothInterpolation. For example, in Python:
myContourLayer.setSmoothInterpolation(0)
Hope this can help.
Regards
Peter Kwan |
|