[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help-octave Digest, Vol 56, Issue 32
From: |
Juan Ansó |
Subject: |
Re: Help-octave Digest, Vol 56, Issue 32 |
Date: |
Thu, 11 Nov 2010 22:24:31 +0100 |
Hello,
try with the function: Pcolor
there is a matlab link that explains some examples to use it:
The rough idea of the function is a colour plot of the matrix that you pass as parameter.
Then you have to play a little bit to adjust the colour parameters to achieve your goal.
Good luck!
2010/11/11
<address@hidden>
Send Help-octave mailing list submissions to
address@hidden
To subscribe or unsubscribe via the World Wide Web, visit
https://www-old.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. Re: Please help me to go ahead for MinGW build concerning DL
libraries ( was DL libraries ....) (Tatsuro MATSUOKA)
2. Re: M*tl*b Programming Contest (Kim Hansen)
3. Re: R: Please help me to go ahead for MinGW build concerning
DL libraries ( was DL libraries ....) (Tatsuro MATSUOKA)
4. Re: Consecutive graphs (Moo)
5. Re: Consecutive graphs (Jordi Guti?rrez Hermoso)
6. Re: Consecutive graphs (Moo)
7. Plotting a matrix (Mph)
----------------------------------------------------------------------
Message: 1
Date: Thu, 11 Nov 2010 07:36:50 +0900 (JST)
From: Tatsuro MATSUOKA <address@hidden>
Subject: Re: Please help me to go ahead for MinGW build concerning DL
libraries ( was DL libraries ....)
To: "John W. Eaton" <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-2022-jp
Hello
Thank you for your explanation. As you pointed out, I have not carried out 'make' after seeing
warning.
I would like to try the changeset by Kai Habel.
http://octave.1599824.n4.nabble.com/Complie-error-of-gl-render-cc-MinGW-build-concerning-to-uimenu-tp3023073p3034993.html
Before trying to the patch, I wanted to clear the new waring that I see first time and it seemed to be
related to the 'Native Graphics'.
Anyway, I will try to build with changeset by Kai Habel and report results.
Regards
Tatsuro
--- "John W. Eaton" wrote:
> On 10-Nov-2010, Tatsuro MATSUOKA wrote:
>
> | Hello
> |
> | Please help me to go ahead for testing MinGW build.
> |
> | Regards
> |
> | Tatsuro
> | --- Tatsuro MATSUOKA wrote:
> |
> | > Hello
> | >
> | > I have not noticed that the current development package check the DL libraries in the
> configure
> | > process.
> | >
> | > <snip>
> | > CXSPARSE libraries: -lcxsparse
> | > DL libraries:
> | > <snip>
> | > configure: WARNING:
> | > configure: WARNING:
> | > configure: WARNING: I didn't find the necessary libraries to compile native
> | > configure: WARNING: graphics. It isn't necessary to have native graphics,
> | > configure: WARNING: but you will need to have gnuplot installed or you won't
> | > configure: WARNING: be able to use any of Octave's plotting commands
> | > configure: WARNING:
> | > configure:
> | > configure: NOTE: libraries may be skipped if a library is not found OR
> | > configure: NOTE: if the library on your system is missing required features.
> | >
> | > The octave-3.3.53 does not check this in the configure process.
> | > Please show me the where I can find the required components.
>
> The "DL Libraries" are any extra libraries that are needed for the
> dlopen, dlsym, and dlclose functions. You probably don't need one, so
> it is empty.
>
> The rest of the warning message is about graphics libraries. You
> haven't shown enough info from the configure summary to know which
> libraries might be missing.
>
> In any case, it is just a warning. Did you try running make after
> this? If so, what happened?
>
> jwe
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
------------------------------
Message: 2
Date: Wed, 10 Nov 2010 23:49:44 +0100
From: Kim Hansen <address@hidden>
Subject: Re: M*tl*b Programming Contest
To: "Bart.Vandewoestyne" <address@hidden>
Cc: help-octave <address@hidden>
Message-ID:
<AANLkTimZoF0B25KncwixAJz+DaNDRRQQ73BR36m9yL=address@hidden>
Content-Type: text/plain; charset=ISO-8859-1
On Wed, Nov 10, 2010 at 11:29, Bart Vandewoestyne
<address@hidden> wrote:
> Hello all,
>
> Today, a new M*tl*b Programming Contest starts:
>
> http://www.mathworks.com/matlabcentral/contest/
> http://blogs.mathworks.com/contest/
>
> I was wondering if people from this list already participated and tried the
> contest problems with Octave as a development platform?
>
> Just being curious here... :-)
Looks like a fun contest.
I have tried the scripts and the problem for me right now is that the
graphics system with the patch() commands seems to be a lot slower in
Octave than in Matlab. I think I have read something here on the list
about it, but I can't find it now.
Is there something I can do to speed up the generation of patches in
the octave code, or is it a problem in the implementation in C++?
Regards,
--
Kim Hansen
Vadg?rdsvej 3, 2.tv
2860 S?borg
Phone: +45 3091 2437
------------------------------
Message: 3
Date: Thu, 11 Nov 2010 09:21:42 +0900 (JST)
From: Tatsuro MATSUOKA <address@hidden>
Subject: Re: R: Please help me to go ahead for MinGW build concerning
DL libraries ( was DL libraries ....)
To: Riccardo Corradini <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=iso-2022-jp
Hello
SuiteSparse seemed to be no problem for me.
Anyway thank you for your kindness.
Regards
Tatsuro
--- Riccardo Corradini wrote:
> Tatsuro,
> did you look at this..
> http://www.cise.ufl.edu/research/sparse/SuiteSparse/ ?
> http://www.cise.ufl.edu/research/sparse/CXSparse
>
> Very bests
> Riccardo
>
> --- Mer 10/11/10, Tatsuro MATSUOKA <address@hidden> ha scritto:
>
> Da: Tatsuro MATSUOKA <address@hidden>
> Oggetto: Please help me to go ahead for MinGW build concerning DL libraries ( was DL libraries
> ....)
> A: address@hidden, address@hidden
> Data: Mercoled 10 novembre 2010, 10:24
>
> Hello
>
> Please help me to go ahead for testing MinGW build.
>
> Regards
>
> Tatsuro
> --- Tatsuro MATSUOKA wrote:
>
> > Hello
> >
> > I have not noticed that the current development package check the DL libraries in the
> configure
> > process.
> >
> > <snip>
> > CXSPARSE libraries: -lcxsparse
> > DL libraries:
> > <snip>
> > configure: WARNING:
> > configure: WARNING:
> > configure: WARNING: I didn't find the necessary libraries to compile native
> > configure: WARNING: graphics. It isn't necessary to have native graphics,
> > configure: WARNING: but you will need to have gnuplot installed or you won't
> > configure: WARNING: be able to use any of Octave's plotting commands
> > configure: WARNING:
> > configure:
> > configure: NOTE: libraries may be skipped if a library is not found OR
> > configure: NOTE: if the library on your system is missing required features.
> >
> > The octave-3.3.53 does not check this in the configure process.
> > Please show me the where I can find the required components.
> >
> > Regards
> >
> > Tatsuro
> >
> >
> > I have googled using the keword
> >
> > --------------------------------------
> > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> > http://pr.mail.yahoo.co.jp/ie8/
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> >
>
>
> --------------------------------------
> Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/ie8/
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
>
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
------------------------------
Message: 4
Date: Wed, 10 Nov 2010 19:49:40 -0700
From: Moo <address@hidden>
Subject: Re: Consecutive graphs
To: george brida <address@hidden>
Cc: address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
On Wed, Nov 10, 2010 at 11:41 AM, george brida <address@hidden>wrote:
> hello all,
> I would draw four graphs consecutively from top to bottom: the first graph
> is to plot the function f (x) = x ^ 2 with x: 1:0.1:5. Headings of x-axis
> and y-axis are respectively and Del Fel. The title of the graph is Graph
> number 1.
> The second graph is to represent the function f (x) = (x-1 / 2) ^ 2 for
> even values of x. Headings of x-axis and y-axis are respectively and Del1
> Fel1. The title of the graph is Graph number 2.
> The third graph is to represent the function f (x) = (x-1 / 3) ^ 2 for
> even values of x. Headings of x-axis and y-axis are respectively and Del2
> Fel2. The title of the graph is Graph number 3.
> Finally, the fourth graph is to represent the function is f (x) = (x-1 /
> 4) ^ 2 for even values of x. Headings of x-axis and y-axis respectively
> and LED3 Fel3. The title of the graph is Graph number 4.
> Thank you in advance,
> George.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
The functions you need to do all this are "plot", "xlabel", "ylabel",
"title", and "figure". I assume you already have the x and y arrays for
your functions. You can always type help function to see the syntax for a
function.
For the first plot, as an example:
figure(1)
x1 = 1:0.1:5;
y1 = x.^2; %note the period before the ^
plot(x1,y1)
xlabel('Del'), ylabel('Fel'), title('Graph number 1')
I'm sure you can do the other graphs following this template.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20101110/99893abe/attachment-0001.html
------------------------------
Message: 5
Date: Wed, 10 Nov 2010 21:56:34 -0600
From: Jordi Guti?rrez Hermoso <address@hidden>
Subject: Re: Consecutive graphs
To: Moo <address@hidden>
Cc: address@hidden
Message-ID:
<address@hidden>
Content-Type: text/plain; charset=UTF-8
On 10 November 2010 20:49, Moo <address@hidden> wrote:
> On Wed, Nov 10, 2010 at 11:41 AM, george brida <address@hidden>
> wrote:
>>
>> hello all,
>> I would draw four graphs consecutively from top to bottom:
[snip]
>
> The functions you need to do all this are "plot", "xlabel", "ylabel",
> "title", and "figure".
I thought this was a question about subplot, which would put all the
graphs in the same window or output.
- Jordi G. H.
------------------------------
Message: 6
Date: Wed, 10 Nov 2010 21:46:21 -0700
From: Moo <address@hidden>
Subject: Re: Consecutive graphs
To: Jordi Guti?rrez Hermoso <address@hidden>
Cc: address@hidden
Message-ID:
<AANLkTi=0GA7MjvUvMJz_21ANQzeF7Oa92dkdskbYSP=address@hidden>
Content-Type: text/plain; charset="iso-8859-1"
2010/11/10 Jordi Guti?rrez Hermoso <address@hidden>
> On 10 November 2010 20:49, Moo <address@hidden> wrote:
> > On Wed, Nov 10, 2010 at 11:41 AM, george brida <address@hidden>
> > wrote:
> >>
> >> hello all,
> >> I would draw four graphs consecutively from top to bottom:
> [snip]
> >
> > The functions you need to do all this are "plot", "xlabel", "ylabel",
> > "title", and "figure".
>
> I thought this was a question about subplot, which would put all the
> graphs in the same window or output.
>
> - Jordi G. H.
>
That makes sense now that you mention it. I didn't realize you could do
separate titles for each subplot. Anyway, George, the same code should
work, just replace figure(1) with subplot(4,1,1) if this is what you meant
to do.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20101110/5a43886a/attachment-0001.html
------------------------------
Message: 7
Date: Wed, 10 Nov 2010 23:39:34 -0800 (PST)
From: Mph <address@hidden>
Subject: Plotting a matrix
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii
Hi everyone,
I am a (quite inexpert) C programmer and I would like to use Octave to
create a graphic representation of some data output.
What I have is a similarity matrix (aka distance matrix), so it's something
like this (my actual matrix is a lot bigger):
Matrix = [
1, 0.25, 0.5, 1;
0.25, 1, 0.75, 0.25;
0.5; 0.75, 1, 0.5;
1, 0.25, 0.5, 1 ]
What I would like to have is an image like this:
http://octave.1599824.n4.nabble.com/file/n3037323/Distance_matrix.png
where each element [x,y] of the array corresponds to the [x,y]th pixel, and
the value of the element corresponds to the color of the pixel (1 being
black and 0 being white, for example). Since my knowledge of Octave is
equal to zero, I would really appreciate if anyone could suggest me which
commands or functions I should use, and how to use them.
Thanks in advance for your attention!
Mph
--
View this message in context: http://octave.1599824.n4.nabble.com/Plotting-a-matrix-tp3037323p3037323.html
Sent from the Octave - General mailing list archive at Nabble.com.
------------------------------
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
End of Help-octave Digest, Vol 56, Issue 32
*******************************************
--
Juan Ansó Romeo
Wabernstrasse 36
3007 Bern, Switzerland
Telephone: +41 (0) 762 905 354
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Help-octave Digest, Vol 56, Issue 32,
Juan Ansó <=