help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Help-octave Digest, Vol 27, Issue 12


From: Oscar Bayona Candel
Subject: RE: Help-octave Digest, Vol 27, Issue 12
Date: Fri, 6 Jun 2008 13:11:40 +0200

 
 
 
 
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: address@hidden
> Subject: Help-octave Digest, Vol 27, Issue 12
> To: address@hidden
> Date: Thu, 5 Jun 2008 12:03:40 -0500
>
> Send Help-octave mailing list submissions to
> address@hidden
>
> 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
> address@hidden
>
> You can reach the person managing the list at
> address@hidden
>
> 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 <address@hidden>
> Subject: how to increase figure size ?
> To: "address@hidden" <address@hidden>
> Message-ID:
> <address@hidden>
> 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" <address@hidden>
> Subject: Re: slow/non-convergence of qp() on convex problems - is it
> to be expected?
> To: address@hidden
> Message-ID:
> <address@hidden>
> 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 <address@hidden> 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" <address@hidden>
> Subject: Re: TextMate for Octave was Re: Octave Editor on Mac Leopard
> OS X
> To: address@hidden
> Message-ID:
> <address@hidden>
> Content-Type: text/plain; charset="utf-8"
>
> On Thu, Jun 5, 2008 at 1:07 PM, John W. Eaton <address@hidden> 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
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
> End of Help-octave Digest, Vol 27, Issue 12
> *******************************************



Sigue los principales acontecimientos deportivos en directo. MSN Motor

reply via email to

[Prev in Thread] Current Thread [Next in Thread]