help-octave
[Top][All Lists]
Advanced

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

Re: Help-octave Digest, Vol 86, Issue 82


From: svlasopoulos
Subject: Re: Help-octave Digest, Vol 86, Issue 82
Date: Tue, 21 May 2013 19:08:09 +0200



Sent from my BlackBerry 10 smartphone.
From: address@hidden
Sent: Tuesday 21 May 2013 19:00
To: address@hidden
Reply To: address@hidden
Subject: Help-octave Digest, Vol 86, Issue 82

Send Help-octave mailing list submissions to
address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.cae.wisc.edu/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. Re: empty arrays of objects (Julien Bect)
2. default line colors (Muhali)
3. Re: OCTAVE ONLINE DOCUMENT ERROR? (c.)
4. mail-news gateway (Francesco Potort?)
5. Re: mail-news gateway (marco atzeri)
6. Re: IMAGE PROCESSING SUB GROUP? (Jordi Guti?rrez Hermoso)
7. installing nan packge (ander)
8. Re: default line colors (adama)
9. Re: default line colors (Muhali)


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 May 2013 07:49:16 +0200
From: Julien Bect <address@hidden>
To: address@hidden
Subject: Re: empty arrays of objects
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 21/05/2013 02:04, ernst wrote:
> octave:28> a=arrayfun(@pn, [])
> a = [](0x0)
> octave:29> class(a)
> ans = double

Hi Ernst,

If you intend your class to behave like a proprer array class, you
should probably "vectorize" your constructor also.

I mean that : x = pn([1 2 3]) should be the same as [pn(1) pn(2) pn(3)].

In this case, you wouldn't have to call arrayfun at all.

And the bonus is, if you call class(S, 'pn') with an empty structure S
in pn.m, then you get an empty array of class 'pn' as an output ;-)

@++
Julien



------------------------------

Message: 2
Date: Tue, 21 May 2013 02:00:33 -0700 (PDT)
From: Muhali <address@hidden>
To: address@hidden
Subject: default line colors
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

According to the help, when using 'line(X,Y,Z)' ML

"cycles through the axes ColorOrder and LineStyleOrder property values"

This should be the same for octave I suppose. However, doing

line([0 1], [0 0])
line([0 1], [0 1])

I get two black lines and not the blue and green colors that the default
colororder prescribes. What am I missing?

M.



--
View this message in context: http://octave.1599824.n4.nabble.com/default-line-colors-tp4653200.html
Sent from the Octave - General mailing list archive at Nabble.com.


------------------------------

Message: 3
Date: Tue, 21 May 2013 11:45:59 +0200
From: "c." <address@hidden>
To: Ming Liu <address@hidden>
Cc: help-octave Octave <address@hidden>
Subject: Re: OCTAVE ONLINE DOCUMENT ERROR?
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-8859-1


On 21 May 2013, at 07:25, Ming Liu <address@hidden> wrote:

> Hi Ben, I have run all these lines in Mac OS's command window, and it worked! Thank you.
> However, there is another simple question. I am still confused about the path of Octave installed in my computer. I have searched some directories but could not find Octave source files. If I want to modify some m-files, I think firstly I need to find them before modifying them, and then try to generate patches. Could you also help me with this? :)
> Kind regards,
> Ming Liu

Ming,

If you're interested in contributing changes to Octave sources
you should not be changing the Octave files installed by macports
but rather clone the Octave mercurial repository and working there:
http://hg.savannah.gnu.org/hgweb/octave/

If rather than to core Octave you wish to add functionalities to an existing
Octave-Forge package you should check out the subversion repository instead:
http://sourceforge.net/p/octave/code/HEAD/tree/

this section of the manual may provide you with useful info:
http://www.gnu.org/software/octave/doc/interpreter/Contributing-Guidelines.html

And also these sections in the wiki might help:
http://wiki.octave.org/Main_Page#Building_Octave
http://wiki.octave.org/Main_Page#Octave-Forge

HTH,
c.

P.S. BTW, macports installs your files in /opt/local.
to see where a particular .m file is located on your machine type

>> which function_name

at the Octave prompt. while typing

>> edit function_name

will open (a copy of) the source file in your default editor.






------------------------------

Message: 4
Date: Tue, 21 May 2013 13:38:39 +0200
From: Francesco Potort? <address@hidden>
To: Octave users list <address@hidden>
Subject: mail-news gateway
Message-ID: <address@hidden>
Content-Type: text/plain; charset=utf-8

This list has increased its traffic a lot in the last couple of years.
It would be useful (to me at least) if there was a mail<->news gateway
on a dedicated Octave news group.

Someone knows how to set up something like that?

--
Francesco Potort? (ricercatore) Voice: +39.050.621.3058
ISTI - Area della ricerca CNR Mobile: +39.348.8283.107
via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti
(entrance 20, 1st floor, room C71) Web: http://fly.isti.cnr.it


------------------------------

Message: 5
Date: Tue, 21 May 2013 13:43:10 +0200
From: marco atzeri <address@hidden>
To: address@hidden
Subject: Re: mail-news gateway
Message-ID: <address@hidden>
Content-Type: text/plain; charset=UTF-8; format=flowed

Il 5/21/2013 1:38 PM, Francesco Potort? ha scritto:
> This list has increased its traffic a lot in the last couple of years.
> It would be useful (to me at least) if there was a mail<->news gateway
> on a dedicated Octave news group.
>
> Someone knows how to set up something like that?
>

http://gmane.org/about.php
http://news.gmane.org/gmane.comp.gnu.octave.general/

Regards
Marco



------------------------------

Message: 6
Date: Tue, 21 May 2013 11:14:00 -0400
From: Jordi Guti?rrez Hermoso <address@hidden>
To: Ming Liu <address@hidden>
Cc: Octave Maintainers List <address@hidden>, Octave
Help <address@hidden>, pantxo diribarne
<address@hidden>, Carn? Draug <address@hidden>
Subject: Re: IMAGE PROCESSING SUB GROUP?
Message-ID:
<address@hidden>
Content-Type: text/plain; charset=UTF-8

On 21 May 2013 01:00, Ming Liu <address@hidden> wrote:
> By the way, may I ask how to submit new functions? May I just send the
> m-files, not the patches?

If you want to, but this will probably delay your patch getting
applied, because someone will have to work a commit message for it,
incorporate it into the source, and test it. If you don't do this
work, someone else has to do it for you.

- Jordi G. H.


------------------------------

Message: 7
Date: Tue, 21 May 2013 07:00:45 -0700 (PDT)
From: ander <address@hidden>
To: address@hidden
Subject: installing nan packge
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

Hi to everyone,

I am trying to install nan package using "pkg install -forge nan", but I
receive the following error

make: *** [histo_mex.mex] Error 1
'make' returned the following error: mkoctfile --mex histo_mex.cpp -lgomp

do you know how to solve this issue? I searched a lot without finding
anything useful.

Thanks in advance,

Ander



--
View this message in context: http://octave.1599824.n4.nabble.com/installing-nan-packge-tp4653205.html
Sent from the Octave - General mailing list archive at Nabble.com.


------------------------------

Message: 8
Date: Tue, 21 May 2013 08:56:24 -0700 (PDT)
From: adama <address@hidden>
To: address@hidden
Subject: Re: default line colors
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

I suspect color cycling hasn't been implemented for 'line' yet. You could
use plot instead to get automatic color cycling. Eg:

plot([1,11;2,12],[1,4;2,5])




--
View this message in context: http://octave.1599824.n4.nabble.com/default-line-colors-tp4653200p4653208.html
Sent from the Octave - General mailing list archive at Nabble.com.


------------------------------

Message: 9
Date: Tue, 21 May 2013 09:30:44 -0700 (PDT)
From: Muhali <address@hidden>
To: address@hidden
Subject: Re: default line colors
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

> I suspect color cycling hasn't been implemented for 'line' yet.

that doesn't seem to be the case since ML behaves identically.



--
View this message in context: http://octave.1599824.n4.nabble.com/default-line-colors-tp4653200p4653209.html
Sent from the Octave - General mailing list archive at Nabble.com.


------------------------------

_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


End of Help-octave Digest, Vol 86, Issue 82
*******************************************

reply via email to

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