[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gradient Filled patch/fill
From: |
Grant Stephens |
Subject: |
Gradient Filled patch/fill |
Date: |
Mon, 30 Apr 2012 07:13:32 +0200 |
Hi
I am having trouble making a patch/fill figure with a gradient color. In matlab the following code would produce the diamond shaped object with the colors representing the random data which is the value at each point, however I cannot seem to do the same in octave. I have tested it in two versions, but not 3.6.1 and on mac and ubuntu.
fill([0 1 5 4],[0 4 5 1],rand(4,1))
Thank You
Grant
- Gradient Filled patch/fill,
Grant Stephens <=