Hi, First, I have a general suggestion (for all of us). When you write a question, please use an informative subject. In the subject line, it is very helpful if you include a short description of the question. For example with this question, instead of the subject that says "Plot", you might have said something like "error comparing datasets". When comparing data from two variables that have different grids, you'll need to put the data from one dataset onto the grid of the other. So, you will need to decide on the grid for your result, and then change your script, so that use substitute either POTTMP[d=2,g=temperature[d=1]] instead of POTTMP[d=2] or use TEMPERATURE[d=1,g=POTEMP[d=2]] instead of TEMPERATURE[d=1] Often you can plot two variables on different grids on the same plot. I think your commands that overlay a contour line on a fill plot will work, because the coordinate axes in the grids have the same units: calendar time, longitude, latitude, depth in meters. So I can't test them without the data, but these commands are probably fine: yes? fill/nolabel TEMPERATURE[d=1] yes? contour/ov/nolabel/colour=7 TEMPERATURE[d=1] but combining data from two different grids in one _expression_ yes? let dT=TEMPERATURE[d=1,x=0.5]-POTTMP[d=2] will not in general work correctly. -Ansley On 4/1/2015 2:12 AM, Satyam Srivastava
wrote:
|