Matplotlib color chart
Here is the color chart for using inside matplotlib
Image gotten from a discussion on stack: https://stackoverflow.com/questions/22408237/named-colors-in-matplotlib
Here is the color chart for using inside matplotlib
Image gotten from a discussion on stack: https://stackoverflow.com/questions/22408237/named-colors-in-matplotlib
Recently I like to doodle something vintage different from the old way. Normally I draw like I usually do, then go to Photoshop and apply a vintage effect on it. But this one is created originally by choosing the exact colors from the beginning.
The result is not bad.
Anyway, the summer is going to end soon. Time to get back to work and stop complaining already, me.
Here is the code to plot a data point to a 2D diagram.
plot(x,y) %plot the line yi=interp1(x,y,a) % a is a real number of the % x-axis value of the data point hold on plot(a,yi,'*')
For example:
x=[0:0.01:1]; y=[0:10:1000]; plot(x,y); % Now add a data point with x=0.25 yi=interp1(x,y,0.25); hold on; plot(0.25,yi,'*')