Community Profile

# Doug Hull

Last seen: 11 months ago Active since 2011

Formerly known as MATLABDoug during my 15 year tenure at MathWorks. Now I live in Vegas, write poker books and relieve tourists of their poker money.

All

View badges

#### Content Feed

View by

Answered
I have plotted two equations. How to get their intersection point?.......Thanks
The cheap way to do this is to plot both and zoom in. ezplot('(x-5)^2+(y-3)^2=4'); hold on ezplot('y-x^2+2.5*x=0'); ...

7 years ago | 0

Answered
Integrating C++ into MATLAB
<http://www.mathworks.com/help/matlab/ref/mex.html MEX examples from the MATLAB documentation>

8 years ago | 4

Answered
Using the legend in a plot leads to errors in displaying them
I think something is amiss on your path. I suspect Legend has been overwritten by a different function that is for some reason ...

8 years ago | 0

| accepted

Answered
Alternative to contour plot: pixel plot?
This looks like it can be done with the command <http://www.mathworks.com/help/matlab/ref/image.html "Image">

8 years ago | 0

| accepted

Answered
legend entry callbacks in 2014b
Short answer: No. http://www.mathworks.com/help/matlab/graphics_transition/why-are-colorbars-and-legends-not-valid-axes-handl...

8 years ago | 0

Answered
Legend line spacing in R2014b
Here are a variety of changes to legend: http://www.mathworks.com/help/matlab/graphics_transition/why-are-colorbars-and-lege...

8 years ago | 0

Answered
Create part of Handles variable
Please don't do this: See this FAQ. http://www.mathworks.com/matlabcentral/answers/143-how-do-i-make-a-series-of-variables...

8 years ago | 0

| accepted

Answered
Problem Running any GUI
In the third way, you shoulr right click to "open in GUIDE" or run the .M file. The .Fig files of a GUIDE file are not really m...

8 years ago | 0

Answered
Annoying behavior saving eps figures in MATLAB 2014
Please send the specifics of your case, code and old and new outputs, to www.mathworks.com/support Without more details, it i...

8 years ago | 0

Answered
barh with colored bars: differences between 2012b and 2014b
The Bar properties of Children is no longer available. This is along the lines of what you want to accomplish: bar([1 na...

8 years ago | 1

| accepted

Answered
2014b axis label errors when printing to postscript
This is under investigation by our developers. We have found there is a gap, the size of which is dependent on the length of ...

8 years ago | 0

Answered
Stacking order of figures
Maybe I am misunderstanding the question: close all for ni = 1:3 figure plot(rand(7)) drawnow en...

8 years ago | 0

Answered
axis in a semilogx
Just add xlim([1 128000]) <</matlabcentral/answers/uploaded_files/21263/loggy.jpg>>

8 years ago | 0

| accepted

Answered
Cannot set the tick mark direction as default
From our development staff: set(groot, 'defaultAxesTickDir', 'out'); set(groot, 'defaultAxesTickDirMode', 'manual'); ...

8 years ago | 1

| accepted

Answered
Patch performance with caxis?
Mike Garrity showed me this example earlier with respect to patch: >> 2.4814 frames per second >> 20.6223 frames per secon...

8 years ago | 1

| accepted

Answered
point of intersection of a circle and binary image
I have an ugly solution that might be what you want: * run EDGE on the binary image. You now have a binary image with the ...

8 years ago | 0

Answered
how do i assign a color to the same type of shape
If you make this a binary image, you can run it through regionprops. There are a variety of metrics in there that should be use...

8 years ago | 0

Answered
How do I prevent LineWidth property from affecting line start and end point on plot?
There is not currently a way to turn of the endcaps on the lines. Maybe you could use less wide lines, or put markers over th...

8 years ago | 0

Answered
Problem with 'Patch' graphics in 2014b - Splits in two along diagonal
The file we are creating in MATLAB is correct and what you are seeing is a bug in Adobe Reader, refer to Stata’s description of ...

8 years ago | 1

Answered
R2014b problem exporting EPS
Thank you for your patience. We have published an article about this. http://www.mathworks.com/matlabcentral/answers/162283-...

8 years ago | 0

| accepted

Answered
How do you format rotated text from clabel in MATLAB 2014b?
Sorry this took a while to get answered. I have checked with our developers to confirm and this is a known incompatibility goin...

8 years ago | 0

| accepted

Answered
addlistener in R2014b can't access new property value?
So this will work, since you know the values you want int there, pass them in like any other argument to the call back. fun...

8 years ago | 0

Answered
Blank areas with fill and patch in 2014b
Thank you for this simple reproduction case. Our developers in this area have noted this: Our current rule for in-out test...

8 years ago | 0

Answered
How to change particular pixel color of a binary image to other color?
Change colormap? clf im = round(rand(10)); imshow(im) colormap([0 1 0; 1 1 1])

8 years ago | 1

Answered
Is it possible to disable plot/figure generation in an entire script?
A sneaky way of kind of sort of doing this is: set(groot,'defaultFigureVisible','off') To undo this: set(groot,'def...

8 years ago | 2

| accepted

Answered
GUIDE Tabs Support in R2014b
http://www.mathworks.com/products/matlab/matlab-graphics/#user_interfaces_with_tab_panels Tab pannels are supported in r2014b...

8 years ago | 0

| accepted

Answered
Font problems when exporting as EPS
From the printing developer: The issue is that Illustrator complains about a missing Helvetica font when the file is import...

8 years ago | 0

Answered
R2014b, where'd 'TitleHandle' go? uipanel
clear close all panel = uipanel('position',[0.5 0.5 0.2 0.2],'parent',gcf) cbox = uicontrol('style', 'checkbox', ...

8 years ago | 0

| accepted

Answered
the arrow.m does not work any more in matlab 2014b version.
It looks like it is treating a graphics handle as a double precision number. It looks like they are pre-allocating a variable...

8 years ago | 0