Top "Matlab-figure" questions

MATLAB is a high-level language and programming environment developed by MathWorks.

How to save MATLAB figure as JPEG using saveas() without the image coming off badly?

In a MATLAB function I am writing, I am generating a figure. The figure is displayed when the function is …

matlab matlab-figure
Multiple plots in one figure

I have the following code and I want to combine phase space plots into one single figure. I have coded …

matlab matlab-figure
Remove border around Matlab plot

Matlab is displaying a black border around a plot and I would like to remove it. I think i should …

matlab border figure matlab-figure
Add custom legend without any relation to the graph

I wish to insert a legend that is not related to the graph whatsoever: figure; hold on; plot(0,0,'or'); plot(0,0,…

matlab matlab-figure legend
How to adjust the distance between the y-label and the y-axis in Matlab?

In Matlab, if we do not rotate the y-label that contains several letters, the label may overlap with the tick …

matlab matlab-figure
How do I add two legends to a single plot in MATLAB?

I'd like to add two legends to a plot in MATLAB. How can I do this?

matlab plot legend matlab-figure
How to merge two figure files into a single file

This should be a problem with a trivial solution, but still I wasn't able to find one. Say that I …

matlab matlab-figure
How should I update the data of a plot in Matlab?

Suppose that I want to update a plot with a new data. What method should I choose? Set the XDataSource …

matlab plot graph matlab-figure matlab-guide
Matlab: How to assign different colormaps/colorbars to different surfaces in the same Figure

I am fairly new to Matlab and have a few questions. I got two surfaces and a plane in the …

matlab matlab-figure color-mapping
How to insert two X axis in a Matlab a plot

I would like create a Matlab figure with a double X axis (m/s and km/h) with the same …

matlab plot matlab-figure axis-labels