image function #795
Nelson-numerical-software
started this conversation in
General
Replies: 1 comment
-
f = figure();
c = zeros(300,600, 3);
c(1:300, 1:200, 1) = 0;
c(1:300, 1:200, 2) = 0;
c(1:300, 1:200, 3) = 255;
c(1:300, 201:400, 1) = 255;
c(1:300, 201:400, 2) = 255;
c(1:300, 201:400, 3) = 255;
c(1:300, 401:600, 1) = 255;
c(1:300, 401:600, 2) = 0;
c(1:300, 401:600, 3) = 0;
image(c);
ax = gca();
ax.Xtick = [];
ax.Ytick = [];
title('Allez la France ;)');
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
baboon.zip
Beta Was this translation helpful? Give feedback.
All reactions