Answered
barh with colored bars: differences between 2012b and 2014b
I ran into this exact same problem. I solved it by writing my own bar function that constructs bars out of patches and wraps the...

9 years ago | 0

Answered
Legend behind Axes and Axes Objects
The "layer" property controls the layering of axes compared to objects within the axes. Your problem is different: the layering ...

9 years ago | 0

Answered
Slice plot of a 3D-data set with color code
Answer to your updated comment: Use the second output (ind) of histc, which is the index of which bin the rows are in. Then use ...

9 years ago | 0

Question


Call CUDA kernel without parallel computing toolbox?
Can anyone confirm whether or not it is possible to call a cuda kernel (ptx file) in Matlab without having the parallel computin...

9 years ago | 1 answer | 1

1

answer

Answered
Matlab toolbox will not work no matter what I do!
Generally you do not want to install your files to the toolbox folder. Put it in your regular matlab working directory instead. ...

9 years ago | 0

| accepted

Answered
addlistener syntax not recognized in R2014b
Addlistener doesn't let you use the cell array syntax on the 3rd argument the way every other callback function works. You must ...

9 years ago | 0

| accepted

Answered
implement matrix with 2 million row in MATLAB!
Take a deep breath, and think about whether you REALLY need that matrix. At 144Gb, basically NO ONE'S computer could handle this...

9 years ago | 1

Answered
Change backround colour of pushbutton to black in GUI
Instead of setting the BackgroundColor property, you can use the CData property to superimpose an image onto your button. (This ...

9 years ago | 0

Question


Best way to programmatically detect new graphics engine?
I'm sure this has been asked before, but I couldn't find it: What is the recommended method for programming a check to see if Ma...

9 years ago | 1 answer | 0

1

answer

Question


Is it "ok" to convert new graphics object handles to double handles?
The R2014b release notes say "you should not perform operations that assume or require graphics handles to be numeric values", s...

9 years ago | 1 answer | 3

1

answer

Question


addlistener in R2014b can't access new property value?
Is addlistener useless in 2014b? See example below. In older versions the "ev" input to the listnn function would have a field c...

9 years ago | 2 answers | 3

2

answers

Question


Uipanel always on top in 2014b?
In the old days, this code would stack the objects in order of creation. f=figure('units','pixels','position',[200 200 600 ...

9 years ago | 1 answer | 1

1

answer

Answered
How to create a switch until released button in Matlab GUI
As sean said, this is not an easy thing to do. The problem is that since your code is continually running in a loop, it is keepi...

9 years ago | 0

Answered
How to display special types of symbols e.g. ♪ ?
You can display text at a point by using the text() function instead of plot(), but there is no way to display unicode character...

9 years ago | 0

| accepted

Question


OOP subsref runs twice with "end"?
I have a simple object: classdef objTest methods function [varargout]=subsref(obj,S) disp(S) ...

9 years ago | 1 answer | 0

1

answer

Answered
How to save an image using its URL
You just can't have a colon in a file name, that's all.

9 years ago | 1

| accepted

Answered
Faster way to create Rectangles
The short answer is that yes you should use patch, and no you should not call patch in a loop. Instead make the data for all 100...

9 years ago | 0

Answered
Font problems when exporting as EPS
This certainly looks like a bug in the eps export. I don't have 2014b yet, but when i run your code in 2014a Illustrator tells m...

9 years ago | 1

Answered
What determines the size of .fig files
Last I checked, saving a figure works like this: 1) use handle2struct(f) to create a structure from the figure 2) this structu...

9 years ago | 0

Answered
More efficient returning string position in cell string array
Well, here is an option with even more rigamarole, but it is faster if that matters. Basically make a copy of your text that is ...

9 years ago | 0

Answered
Change grid Line Width
I think Yair Altman just covered this today... there are unlisted "ruler" properties that let you directly control the axes line...

9 years ago | 1

Answered
More efficient returning string position in cell string array
If i'm understanding correctly: [junk,answer] = ismember('FULLER',endtxt(:,2))

9 years ago | 0

Answered
Create a help text that shows in command window. How to??
You simply place comments at the top of the function. All comments that appear before the first non-comment or empty line are di...

9 years ago | 1

| accepted

Answered
GUI design of static text
Two things; First, you are not limited to the colors shown in the property editor. You can enter any RGB color manually. Seco...

11 years ago | 1

| accepted

Submitted


rgb2name
Names a color based on its RGB-triple colorspec. Knows over 400 color names.

15 years ago | 1 download |

Submitted


getscreen
Replacement for getframe for multiple-monitor systems. Also takes screenshots of non-MATLAB windows.

15 years ago | 2 downloads |