[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing pcolor image takes a bit long
From: |
Francesco Potortì |
Subject: |
Re: Printing pcolor image takes a bit long |
Date: |
Wed, 21 Nov 2012 16:28:11 +0100 |
>Just wanted to update the progress in case it will help anyone.
>
>I'm plotting with the image function now, which allows me to overlay
>the image with lines in gnuplot
I have used Octave to produce plots with an image background, if that's
what you are trying to do. This is an excerpt of the code I used:
alpha = 0.5;
light = 0.5;
pav = alpha*light*255+(1-alpha)*flipdim(imread("pavimento13_small.jpeg"),2);
l = [0 11.41-0.60 0 6]; # size of floor
close; image(linspace(l(1),l(2),1944), linspace(l(3),l(4),1080), pav);
axis(l,'xy','manual','equal');
hold on; plot(path_1(:,[1 3]),path_1(:,[2
4]),'marker',"o",'markersize',4,'linewidth',5)
print -color -depsc2 path1.eps
>But the problem now is the colors come out washed when using gnuplot.
I see full colours. Since I wanted to wash them out, I used the "alpha"
and "light" variables above. When I want unwashed colours I set alpha=0.
--
Francesco Potortì (ricercatore) Voice: +39.050.315.3058 (op.2111)
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