Help-octave Digest, Vol 27, Issue 12

Oscar Bayona Candel oscarbayonacandel at hotmail.com
Fri Jun 6 06:11:40 CDT 2008


 
 
 
 
Hi all,
 
I´m using this code to plot 3 different graphs A, B,C in a same window.
 
You Know:
 
subplot(3,1,1)plotA)subplot(3,1,2)plot(B)subplot(3,1,3)plot(C)
But graph 2 and 3 appears in the same place so they supper power.
 
Can you show me why?
 
Thanks for all in advance
> From: help-octave-request at octave.org> Subject: Help-octave Digest, Vol 27, Issue 12> To: help-octave at octave.org> Date: Thu, 5 Jun 2008 12:03:40 -0500> > Send Help-octave mailing list submissions to> help-octave at octave.org> > To subscribe or unsubscribe via the World Wide Web, visit> https://www.cae.wisc.edu/mailman/listinfo/help-octave> or, via email, send a message with subject or body 'help' to> help-octave-request at octave.org> > You can reach the person managing the list at> help-octave-owner at octave.org> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of Help-octave digest..."> > > Today's Topics:> > 1. how to increase figure size ? (Bigler St?phane)> 2. Re: slow/non-convergence of qp() on convex problems - is it> to be expected? (Joshua Redstone)> 3. Re: TextMate for Octave was Re: Octave Editor on Mac Leopard> OS X (Matt Foster)> > > ----------------------------------------------------------------------> > Message: 1> Date: Thu, 5 Jun 2008 15:49:51 +0200> From: Bigler St?phane <stephane.bigler at epfl.ch>> Subject: how to increase figure size ?> To: "help-octave at octave.org" <help-octave at octave.org>> Message-ID:> <04027083AC4F1045BD2B34527FDBAD6B0B41CE83 at rex4.intranet.epfl.ch>> Content-Type: text/plain; charset="iso-8859-1"> > Hi,> Does anyone know how to set figure size within octave?> > For example, the code below print y=f(x) in a (too) small window:> > figure() ;> x = 1:1:10 ;> y= 3*a ;> plot(x,y) ;> title('figure_title') ;> xlabel('x [m]') ;> ylabel('y [m]') ;> legend('y=f(x)') ;> grid on ;> print -deps -landscape file_name.ps ;> > In order to get a good quality print, I really need to increase the size of the figure. How to do it?> > Any help would be really appreciated.> Thanks in advance for answering.> > > SBr> > -------------- next part --------------> An HTML attachment was scrubbed...> URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080605/3d51c5c7/attachment-0001.html > > ------------------------------> > Message: 2> Date: Thu, 5 Jun 2008 07:55:24 -0700> From: "Joshua Redstone" <redstone at gmail.com>> Subject: Re: slow/non-convergence of qp() on convex problems - is it> to be expected?> To: help at octave.org> Message-ID:> <5f9c1f650806050755m50b470d4v76bc039fd9e33f10 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Followup: I've poked around more and it looks like this is a bug in qp().I've> sent an email describing the problem in detail and included a '.dat' file to> reproduce it.> The email sent to bug-octave has subject line: qp() in octave-3.0.0 gets> stuck on wrong answer to convex problem> Josh> > On Tue, Jun 3, 2008 at 8:52 AM, Joshua Redstone <redstone at gmail.com> wrote:> > > Hi all,I'm having difficulty getting qp() to find the global minimum of> > the particular class of convex problems I'm trying to solve.> > The success of qp() in finding the global solution seems, even when> > executing for thousands of iterations, seems to be very sensitive to the> > initial value x0 specified.> > I'm wondering if this is to be expected, and what I can do to make my> > problem more amenable to qp()'s algorithm.> >> > Details:> > I modified qp() to take an extra parameter, maxiter, specifying the maximum> > number of iterations.> > For a particular problem instance, I find that even with maxiter set at> > 3000, I have to call qp() many times with different> > values of x0 before it will return info=0 - which means 'The problem is> > feasible and convex. Global solution found.'> > The other times, qp() returns info=3 - which means 'Maximum number of> > iterations reached.'> > Furthermore, when qp() returns info=0, the objective function value is> > 1e-28, while, when it returns info=3, the> > objective function value is more like 1e-2. Is this to be expected? Is> > there a way I could modify either my problem or choose another> > convex solver besides qp() that might have better luck?> > The class of convex problems I'm trying to solve is of dimension 100, and> > there are two equality constraints and six inequality constraints.> > Any suggestions?> > I can attach an octave file with an instance of this behavior if it would> > help.> > Thanks,> > Josh> >> -------------- next part --------------> An HTML attachment was scrubbed...> URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080605/ecf282fc/attachment-0001.html > > ------------------------------> > Message: 3> Date: Thu, 5 Jun 2008 16:12:33 +0100> From: "Matt Foster" <matt.p.foster at gmail.com>> Subject: Re: TextMate for Octave was Re: Octave Editor on Mac Leopard> OS X> To: help-octave at octave.org> Message-ID:> <1dcb3f200806050812t6d1c5fd0l32c7e96f1d6d8dd1 at mail.gmail.com>> Content-Type: text/plain; charset="utf-8"> > On Thu, Jun 5, 2008 at 1:07 PM, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:> > > I'd appreciate it if you would not promote non-free (as in freedom)> > software on the Octave mailing lists.> >> > Thanks,> >> > jwe> >> > Sorry. I meant no offence.> Cheers,> Matt> > -- > Matt Foster | http://my-mili.eu/matt> -------------- next part --------------> An HTML attachment was scrubbed...> URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080605/cdeba48c/attachment-0001.html > > ------------------------------> > _______________________________________________> Help-octave mailing list> Help-octave at octave.org> https://www.cae.wisc.edu/mailman/listinfo/help-octave> > > End of Help-octave Digest, Vol 27, Issue 12> *******************************************
_________________________________________________________________
La vida de los famosos al desnudo en MSN Entretenimiento
http://entretenimiento.es.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.cae.wisc.edu/pipermail/help-octave/attachments/20080606/1ec217e7/attachment-0001.html 


More information about the Help-octave mailing list