From: John H. <jdh...@ac...> - 2004-06-22 15:27:55
|
>>>>> "Thomas" == Thomas Barket <tho...@ya...> writes: Thomas> Hello, When I run the following script, the ganged Thomas> candlestick plots appear as expected. However, there is a Thomas> second plot behind but sticking out (with different x and Thomas> y axes) that shouldn't be there. Am I not doing this Thomas> correctly? I can't see where in the code below I am Thomas> mistakenly creating two plots that overlap, or is there a Thomas> bug with ganged candlesticks? Hi Thomas, Delete the line that reads sub = subplot(1, 1, 1) you are creating a subplot that you never use. subplot and axes are both Axes creations commands. Since you manually create your axes with axes, you don't need the subplot. There is a problem with ganged plots in that the ytick labels tend to overlap at the borders. You can fix this using a custom tick formatter - I can help you with this if you need. JDH |