0

In IDL, I tried to plot one image above the other using LAYOUT[1,2,1] and LAYOUT[1,2,2], but the x-axis of the two plots aren't aligned. I tried to fix it using POSITION[x0,y0] instead of LAYOUT, but for some reason POSITION[x0,y0] doesn't seem to be working properly (It overlaps the two images). How could I fix this?

Thanks in advance for the help


result = 10^[0.31, 0.01, -0.28, -0.32]
shiftresult = [15.93, 26.5, 41.9, 45.01]
errorB = [0.419, 0.694, 1.21, 1.125]

dshiftBf = errorplot( result, Shiftresult, 0, errorB, SYMBOL='.',SYM_SIZE=4.0, $
 DIM=[700,1400], XRANGE=[0.01, 10.],FONT_SIZE=20,/XLOG,LINESTYLE = 6, $
 LAYOUT=[1,2,1], XTICKUNITS='Scientific')

res05 = plot(result[sort(result)],$  
 simcomp05[sort(result)]/normstan05,'b',DIM[700,1400],FONT_SIZE=20, $
 STAIRSTEP=1,/CURRENT,  LAYOUT=[1,2,2], XTICKUNITS='Scientific')
user20650
  • 24,654
  • 5
  • 56
  • 91

0 Answers0