[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plot sequencing problem
From: |
Andrass Ziska Davidsen |
Subject: |
Re: Plot sequencing problem |
Date: |
Tue, 25 Oct 2005 11:34:50 +0200 |
On Mon, 2005-10-24 at 15:19 -0400, Madhusudan Singh wrote:
> I am trying to create a slew of plots from my data using octave. Code
> snippet :
>
> gset term png transparent enhanced xffffff x000000
> gset size 1,1
> gset origin 0,0
> gset key outside
>
> gset output "U1BC.png"
> [plotcmd1,lcmd1]=plotcmd('d11',p11,"","IV",1,2,0);
> eval(plotcmd1)
> xlabel('Vbc')
> ylabel('Ibc')
> title('Patterned UOG 1 D1 - base collector IV')
> gset output
>
> gset output "U1D1-TFIC.png"
> [plotcmd2,lcmd2]=plotcmd('d12',p12,"Vce=",r12,1,3,0);
> eval(plotcmd2)
> xlabel('Vb')
> ylabel('Ic')
> title('Patterned UOG 1 D1 - forward transfer')
> gset output
>
> plotcmd is code that I wrote (its well tested - no bugs there) that returns a
> string that creates the plot.
>
> What I find above is that the xlabel, ylabel and the title of the first plot
> end up in the second.
Try to change the order of your statements, such that the
'eval(plotcmd)' line comes after the 'title' line.
--
Andrass Ziska Davidsen
M.Sc. Offshore Construction
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------