# Robert Cumming

### Matpi

Followers: 0 Following: 0

Matlab consultant. Specialise in data analysis, modelling and 2&3D plotting. Available for consultancy roles - see website for contact details.

Developer of advanced GUI framework (all Matlab versions R2008a onwards) - matpigui.

Free demo versions available from www.matpi.com

Contact details:

www.matpi.com

**Statistics**

RANK**169**

of 289 785

REPUTATION**669**

CONTRIBUTIONS

**7** Questions

**304** Answers

ANSWER ACCEPTANCE **
71.43%
**

VOTES RECEIVED**137**

RANK**2 474** of 19 588

REPUTATION**678**

AVERAGE RATING**4.80**

CONTRIBUTIONS**9** Files

DOWNLOADS **19**

ALL TIME DOWNLOADS**5878**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mer än 7 år ago

Submitted

cProgress

A highly cusotomizable circular progress bar (with upto 2 bars)

mer än 8 år ago | 1 download |

Submitted

efigure

GUI wrapper for export_fig - add toolbar items to any/all figures

mer än 8 år ago | 1 download |

How do I suppress the splash screen for compiled applications in 2014b?

I had a similar issue (not wanting the splashscreen to be displayed every time you run an exe). One way to resolve this is ...

mer än 8 år ago | 0

Submitted

interactive jigsaw game

Make a jigsaw from your own image - 4 difficulty levels

nästan 9 år ago | 3 downloads |

Guide Multiple Axes to display images

You find all the axes objects but do nothing with them... I guess you want: rcFiles = dir('*.jpg'); % the folder in whi...

ungefär 9 år ago | 0

Does keyboard slows down the code?

Its to do with the JIT optimisation, the same is true if you insert conditional debug statement in the code, Matlab needs to pre...

ungefär 9 år ago | 0

| accepted

MATLAB Editor bug? "There is no anonymous function"

Its because your m file is in essence a script. Try creating a larger script and but a break point in the anonymous function an...

ungefär 9 år ago | 0

MATLAB 2015 slider gui question

You have 2 options (that I can currently think of) 1 - Using core Matlab - you need to combine the GUI mouse motion callback ...

ungefär 9 år ago | 0

Load parts of VERY LARGE text file content and create a smaller matrix

Use fopen to open the file then parse it line by line saving what you need and ignoring the rest. Remember to close the file wi...

ungefär 9 år ago | 0

plotting with changing variable values with switch case command

you need to specify the hold command before you start creating the plots.

ungefär 9 år ago | 0

How to move or relocate the figure window and message box?

The reason you can only move window 3 is because by default an inputdlg is Modal (i.e. you cant access any other GUI until that ...

ungefär 9 år ago | 0

| accepted

Submitted

Add a title to a legend

Add a title to a legend - compatible with R2014b

mer än 9 år ago | 4 downloads |

How are structs handled when passed to a function?

As I understand it when you store data in structs you are storing 2 things 1. The matrix/variable 2. The address of the ...

mer än 9 år ago | 2

| accepted

Labels not showing up on Graphs

you are creating variables called xlabel and ylabel, you need to do: xlabel ( gTitles(1) ) ylabel ( gTitles(2) ) or b...

mer än 9 år ago | 0

| accepted

Transparent PNG file on background in Matlab GUI

I know this is an old post - but if anyone comes across this you may be interested in <http://undocumentedmatlab.com/blog/transp...

mer än 9 år ago | 2

MATLAB GUI - Set transparent background color for components

I know this is an old post - but if anyone comes across this you may be interested in <http://undocumentedmatlab.com/blog/transp...

mer än 9 år ago | 0

GUI plotting to axes once a seperate figure is opened

are you specifying the axes in the plot command? If not Matlab will plot in the current active axes (gca). Its advisable to ...

mer än 9 år ago | 0

RecursionLimit reached without applying recursion calls.

Type in Matlab le = lasterror That will give you information on (unsurprisingly) the last error - this should contain i...

mer än 9 år ago | 0

How to change the linewidth in a figure before actually plotting some?

set(0,'DefaultLineLineWidth',2) This will set the line width for all plots in the current session The technique your u...

mer än 9 år ago | 2

How to create a dialog with multiple fields by using inputdlg on Mac?

on your MAC try: which -all inputdlg to check that you haven't got a function name clash anywhere... What is *line 53...

mer än 9 år ago | 0

| accepted

How to make plot in Matlab 2014 looked the same as Matlab 2013 default?

Is it the default colormap which is the problem? The default changed. You should be able to get back to the R2013 map using...

mer än 9 år ago | 0

How do i expand this figure so all graphs fit perfect

you may be interested in this <http://www.mathworks.com/matlabcentral/fileexchange/27991 FEX submission> which allows for you to...

mer än 9 år ago | 0

How to get back red waitbar?

I played around with the java this afternoon and got this to work: hBar = waitbar ( 0, 'Please Wait....' ); % now use ...

mer än 9 år ago | 0

| accepted

Problems with legend in R2014b

The addition of a title to a legend in the past was a by product of the legend being built on a axes. It was not a deliberate de...

mer än 9 år ago | 1

title on legend 2014b

In the previous versions of Matlab legend was built on an *axes*. Access to the title property of the legend wasn't (as far a...

mer än 9 år ago | 1

How do you extract the actual name of your input variable in a function?

can you not just do this: function bmp=array2bmp(a) bmp=uint8(a); nam=strcat(inputname(1),'.bmp'); i...

mer än 9 år ago | 0

How to change background color of GUI

does this do what you want: set ( 0, 'DefaultFigureColor', [1 0 0] ) you can se the colour of any individual figure: ...

mer än 9 år ago | 0

Matlab warning points to the wrong line

This could also happen if your file is locked by *mlock*. If you restart Matlab does the problem remain?

mer än 9 år ago | 0

Changing length of bar in legend

You can change the fontSize property which makes it smaller. Otherwise if your using pre 2014b you can get to all the propert...

mer än 9 år ago | 0