News

To create a box plot in MATLAB, you need to have a vector or matrix of numerical data. If you have a vector, you can use the boxplot function to create a single box plot.
Begin by defining the x, y and z values for the plot, if you don't already have them. For example, at MATLAB's command prompt type the following:x = 1:0.1:10; y = sin (x); z = magic (91);This code ...
import and plot Gromacs xvg files These two Matlab functions imports and plots the type of .xvg files that the MD package Gromacs uses for some of its text-based data output. The functions tries to ...
Here you find 2 MATLAB functions: SetQuiverColor and SetQuiverLength. They allow you to change the appearance of quiver plot in MATLAB. You can change the color of each arrow (SetQuiverColor) and ...