Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the color models, schemes, named colors and color functions supported by Mathematica.
0
votes
1
answer
203
views
plot a list color data is set by another list
I'm trying to plot the list using ListLinePlot, and using color function set by another list. … 1/n}];
grad = {1, 9, 9, 9, 5, 5, 9, 9, 1, 1};
f = Interpolation[grad];
cf = Function[{x, f}, ColorData[{"AvocadoColors", {0, 9}}][f]];
ListLinePlot[lis, ColorFunction -> cf]
I have tried to set the color …
0
votes
1
answer
109
views
Plot a line colored set by value of a different list
I have a model, see code below:
n = 10;
lis = Table[i^4, {i, 0, 1, 1/n}];
grad = {1, 1, 9, 9, 9, 9, 9, 9, 10, 10, 10};
int = Interpolation[grad];
cf = Function[{x, f}, ColorData[{"AvocadoColors", {0, …