ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  How to Create Contour layer map without skew
Posted by Dhananjayan on Jun-30-2016 20:37
Attachments:
Hello,

I am trying to create a contour chart with the following data,

x = {0,1,2,3,4,5}

y= {0,1,2,...9,10}

z= {1,2,3,...66}

I am expecting the map to look exactly like the color axis legend, but the plot looks tilted(see the attached).  Is this an inherent property of any contour chart?  Is it possible to re-arrange the data and get the map to look as I expect?

Thanks
Dhananjayan
ContourMap_skewed.png

  Re: How to Create Contour layer map without skew
Posted by Peter Kwan on Jun-30-2016 21:34
Hi Dhananjayan,

The chart accurately reflects your data. The contour is "tilted" because your data are "tilted". For example, your first six z-coordinates are 1, 2, 3, 4, 5, 6 (which is the 6 points from left to right at the x-axis). This is clearly "tilted" as it is lower (z = 1) on the left side and higher on the right side (z = 6). If you want the contour lines to be horizontal, your data should be horizontal (left and right sides of the same height), like:

z = {0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 10, 10, 10, 10, 10, 10, ......}

Hope this can help.

Regards
Peter Kwan