Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1857 > unrolled thread

Plot a Matrix with colour and numbers in it

Started byNiklas Casper <casperniklas@gmail.com>
First post2013-05-27 10:13 -0700
Last post2013-05-28 12:22 -0700
Articles 7 — 3 participants

Back to article view | Back to comp.graphics.apps.gnuplot


Contents

  Plot a Matrix with colour and numbers in it Niklas Casper <casperniklas@gmail.com> - 2013-05-27 10:13 -0700
    Re: Plot a Matrix with colour and numbers in it sfeam <sfeam@users.sourceforge.net> - 2013-05-27 11:12 -0700
      Re: Plot a Matrix with colour and numbers in it Niklas Casper <casperniklas@gmail.com> - 2013-05-27 11:58 -0700
        Re: Plot a Matrix with colour and numbers in it Christoph Bersch <usenet@bersch.net> - 2013-05-28 09:25 +0200
          Re: Plot a Matrix with colour and numbers in it Niklas Casper <casperniklas@gmail.com> - 2013-05-28 03:04 -0700
            Re: Plot a Matrix with colour and numbers in it Christoph Bersch <usenet@bersch.net> - 2013-05-28 12:44 +0200
              Re: Plot a Matrix with colour and numbers in it Niklas Casper <casperniklas@gmail.com> - 2013-05-28 12:22 -0700

#1857 — Plot a Matrix with colour and numbers in it

FromNiklas Casper <casperniklas@gmail.com>
Date2013-05-27 10:13 -0700
SubjectPlot a Matrix with colour and numbers in it
Message-ID<d6d33942-f881-4396-a0cb-cec3fe1990e7@googlegroups.com>
Hello!

I want to create a Matrix like these:
https://googledrive.com/host/0B_AFgrOzVSTnSXd0TWJBUDhuUFU/index.html

With "plot...matrix image" I can plot the Heatmap with colours, but I need also the numbers in it. How does it work?

Thanks 
Niklas

[toc] | [next] | [standalone]


#1858

Fromsfeam <sfeam@users.sourceforge.net>
Date2013-05-27 11:12 -0700
Message-ID<ko07ef$h52$1@dont-email.me>
In reply to#1857
Niklas Casper wrote:

> Hello!
> 
> I want to create a Matrix like these:
> https://googledrive.com/host/0B_AFgrOzVSTnSXd0TWJBUDhuUFU/index.html
> 
> With "plot...matrix image" I can plot the Heatmap with colours, but I
> need also the numbers in it. How does it work?


 plot 'map1' matrix using 1:2:3 with image, \
      'map1' matrix using 1:2:(sprintf("%g",column(3))) with labels


> 
> Thanks
> Niklas

[toc] | [prev] | [next] | [standalone]


#1859

FromNiklas Casper <casperniklas@gmail.com>
Date2013-05-27 11:58 -0700
Message-ID<d87eaef5-b236-4117-bb77-bb7aeb3ef67d@googlegroups.com>
In reply to#1858
On Monday, May 27, 2013 8:12:27 PM UTC+2, sfeam wrote:
> Niklas Casper wrote:
> 
> 
> 
> > Hello!
> 
> > 
> 
> > I want to create a Matrix like these:
> 
> > https://googledrive.com/host/0B_AFgrOzVSTnSXd0TWJBUDhuUFU/index.html
> 
> > 
> 
> > With "plot...matrix image" I can plot the Heatmap with colours, but I
> 
> > need also the numbers in it. How does it work?
> 
> 
> 
> 
> 
>  plot 'map1' matrix using 1:2:3 with image, \
> 
>       'map1' matrix using 1:2:(sprintf("%g",column(3))) with labels
> 
> 
> 
> 
> 
> > 
> 
> > Thanks
> 
> > Niklas

Thanks, it works fine. I've created a script - plotting 3 matrices - that plots only one. Why?

[toc] | [prev] | [next] | [standalone]


#1863

FromChristoph Bersch <usenet@bersch.net>
Date2013-05-28 09:25 +0200
Message-ID<ko1ltg$4kf$2@dont-email.me>
In reply to#1859
Am 27.05.2013 20:58, schrieb Niklas Casper:
>
> Thanks, it works fine. I've created a script - plotting 3 matrices - that plots only one. Why?

How can we know without seeing your script?

Depending on what you want, you must either plot all matrices in a 
single plot command, or you must use 'set multiplot'.

Christoph

[toc] | [prev] | [next] | [standalone]


#1864

FromNiklas Casper <casperniklas@gmail.com>
Date2013-05-28 03:04 -0700
Message-ID<f17e030a-a582-4de2-84d7-ad07f368da97@googlegroups.com>
In reply to#1863
Sorry, I've forgot to post the code. Here you can find it:
http://pastebin.com/LK1gARmW
I would single plot every matrix.

[toc] | [prev] | [next] | [standalone]


#1865

FromChristoph Bersch <usenet@bersch.net>
Date2013-05-28 12:44 +0200
Message-ID<ko21iu$t57$1@dont-email.me>
In reply to#1864
Am 28.05.2013 12:04, schrieb Niklas Casper:
> Sorry, I've forgot to post the code. Here you can find it:
> http://pastebin.com/LK1gARmW
> I would single plot every matrix.

Ok, but I still don't get what you want to do.

Before each plot you set a new output name and you should get three 
different images (MatrixLabel055.png, MatrixLabel06.png and 
MatrixLabel065.png).
So, what's the problem?

Christoph

[toc] | [prev] | [next] | [standalone]


#1866

FromNiklas Casper <casperniklas@gmail.com>
Date2013-05-28 12:22 -0700
Message-ID<161a32b1-cc67-4829-a2e2-024350ff42a3@googlegroups.com>
In reply to#1865
On Tuesday, May 28, 2013 12:44:47 PM UTC+2, Christoph Bersch wrote:
> Am 28.05.2013 12:04, schrieb Niklas Casper:
> 
> > Sorry, I've forgot to post the code. Here you can find it:
> 
> > http://pastebin.com/LK1gARmW
> 
> > I would single plot every matrix.
> 
> 
> 
> Ok, but I still don't get what you want to do.
> 
> 
> 
> Before each plot you set a new output name and you should get three 
> 
> different images (MatrixLabel055.png, MatrixLabel06.png and 
> 
> MatrixLabel065.png).
> 
> So, what's the problem?
> 
> 
> 
> Christoph

Thanks for all, now it works fine.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.graphics.apps.gnuplot


csiph-web