X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 21 Apr 2010 11:16 PM by  anon
setting icontour z range?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
21 Apr 2010 11:16 PM
    Hello, I'm using icontour to plot some transmittance data through different pieces of glass.  I'm using filled contours, and I've been able to get the data to plot correctly.  I've got one plot for each glass type, and all of the plots are the same size.  In order to make comparison easier, I'd like to make the 'z range' or colour scale the same for all plots.  I've spent a lot of time trying to make this work without any luck, so I'm posting here in the hope that someone might be able to help me out.  I've tried specifying each contour level, and setting the min_ value and max_value, but it seems like icontour just takes over and sets the z range automatically based on the data. So, to summarize, what I have now for a z range is (using the rainbow colour table): plot 1: 0.64 as black, up to 0.76 as red plot 2: 0.72 as black, up to 0.84 as red and what I'd like to have: plot 1: 0.64 as black, up to 0.84 as red plot 2: 0.64 as black, up to 0.84 as red (i.e. with the colour scale giving the same values on both plots.) Any help would be appreciated. Thanks, Steve      

    Deleted User



    New Member


    Posts:
    New Member


    --
    25 Apr 2010 04:29 PM
    Hello, I found a solution to my problem and thought I would post it to help people with this problem in the future.  I added two new data points to each plot - one at the desired min z range (0.64) and one at the max (0.84).  In x and y I placed them well away from the range of the real data (i.e. my data is from x:0-25 and y:0:25, so I put these new  points at (-30,-30) and (-40,-40)).  I then let icontour take over which gridded the data and also automatically set the z range.  I then changed the x and y axis ranges to only show the real data (x:0-25 and y:0:25).  The idea is that the fake data is used to set the z range, but then is not shown in the final plot. Steve
    You are not authorized to post a reply.