<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thank you ¨M: I'll try that.</p>
<p>JP Grivet</p>
<p><br>
</p>
<div class="moz-cite-prefix">Le 17/04/2018 à 17:52, P M a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CACf7ODuvkOMVfYSZabahPRRbwer+uN=BikmQPSoLoo5cdyd1PA@mail.gmail.com">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Hi Grivet,<br>
</div>
<div><br>
weather...yes it is<br>
<br>
</div>
how.......if you know:<br>
</div>
<br>
</div>
- the pixel coordinate of the pixel you want to
manipulate and<br>
</div>
- how to work with colormap ... <br>
<br>
</div>
you should be able to manipulate a single pixel<br>
<br>
</div>
For a start I suggest you understand how Matplot()
works.<br>
</div>
This is used in IPD to draw the image, when the
ShowImage() command is used.<br>
<br>
</div>
simple Example:<br>
<br>
</div>
img = ones(100,100) * 256; // white image with sioze
of 100 x 100 px<br>
</div>
ShowImage(img, "white image");<br>
</div>
img(50,50) = 0; // set a single pixel to
zero (= black)<br>
ShowImage(img, "white image with one single black pixel");
<div>
<div><br>
</div>
<div>Hth,<br>
</div>
<div>Philipp<br>
</div>
<div>
<div>
<div><br>
<br>
<div>
<div>
<div>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2018-04-16 12:53 GMT+02:00
Jean-Philippe Grivet <span dir="ltr"><<a
href="mailto:jean-philippe.grivet@wanadoo.fr"
target="_blank" moz-do-not-send="true">jean-philippe.grivet@wanadoo.fr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I would like to know whether and how it is possible to
program individual pixels within a Scilab figure ? I have in
mind a simple application: a disk moves inside a bounded
region and changes the colour of every pixel it sweeps
over. Thanks for your hints.<br>
<br>
JP Grivet<br>
<br>
<br>
<br>
---<br>
L'absence de virus dans ce courrier électronique a été
vérifiée par le logiciel antivirus Avast.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://www.avast.com/antiviru<wbr>s</a><br>
<br>
______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org" target="_blank"
moz-do-not-send="true">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.scilab.org/mailma<wbr>n/listinfo/users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>In Kanada is' ka' na' da. Sonst wär' Kanada Jemanda.</div>
<div><br>
</div>
<div>There we have the salad.</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Garanti sans virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>