help-octave
[Top][All Lists]
Advanced

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

Re: Printing pcolor image takes a bit long


From: Marko Kvakić
Subject: Re: Printing pcolor image takes a bit long
Date: Thu, 22 Nov 2012 00:53:31 +0100

Thanks for the reply.

But my problem lies in producing the final output.

On the right side of the image is the corresponding color code.
As you can see, some of the colors are very similar.

Fltk is doing a good job in producing the final image, but alas at a
much slower rate.


On 21 November 2012 16:28, Francesco Potortì <address@hidden> wrote:
>>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



-- 
Marko Kvakić

Mob: 00385 95 828 0470

Attachment: slika.png
Description: PNG image


reply via email to

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