![]() Here we discuss an introduction to Matlab Plot Colors, along with color code table and respective examples. There could be instances when we have to plot multiple functions in a single plot, in such cases, colors become very handy to differentiate between different functions. MATLAB can be used to plot our data for visualizing and intuitively understanding it. Observe in the output that we have obtained a scatter plot of red color, as passed by us in the input argument. ![]() ![]() b blue g green r red c cyan m magenta y yellow k black w white Let’s try some variants on the following example. Observe in the code that we have passed pre-defined color code for red as an argument (Please refer to the table at the end of the article for pre-defined color codes) The following are the letters you can add to your code to control the color of your plot while plotting in Matlab.
0 Comments
Leave a Reply. |