From: John H. <jdh...@ac...> - 2005-02-01 13:48:41
|
>>>>> "Delbert" == Delbert D Franz <dd...@lk...> writes: Delbert> I have made great progress with my GUI to plot Delbert> time-series files from my unsteady-flow modeling Delbert> software. It works when I have one subplot per figure Delbert> but I have not been able to get two subplots (211 and Delbert> 212) to work. Only the lower subplot appears and the Delbert> trace or line assigned to the upper subplot (211) appears Delbert> in the lower subplot. The space for the upper subplot Delbert> appears as blank space in the figure. You code looks correct on first glance (except did you mean tht title to be in the loop?) . My guess is your data structure has a bug in it. Add a print statement and make sure the loc code is as you think it is. print fg.fgs[ifg].sp[isp].loc_code ax = f.add_subplot(fg.fgs[ifg].sp[isp].loc_code) If they are correct, you need to compose a minimum, free standing script that replicates your problem and I can take a look. Hope this helps, JDH |