matt dash
Georgia Institute of Technology
Followers: 0 Following: 0
Professional Interests: interactive data visualization, computational geometry
Feeds
How can a ButtonDownFcn in a patch or line handle detect which polygon or segment was clicked?
I dont believe that Matlab has already calculated which face/edge/marker you clicked (I don't think hittest works that way). Ass...
9 years 前 | 0
Conversion of .BMP to .jpg images
Looks like you're missing a path separator between your folder name and file name. You should use the fullfile fucntion to combi...
10 years 前 | 0
提问
gco broken in 2014b?
In older versions, this displays the last object clicked in the command window whenever a key is pressed in the figure: fig...
10 years 前 | 0 个回答 | 0
0
个回答Controlling title position in 3D plots
You have a couple options. They are mostly based on the fact that the title's position is specified with respect to the axes pos...
10 years 前 | 0
| 已接受
Questions about using genpath()
Genpath makes a list of all subfolders below the specified folder. For what you're doing to work, the highest level folder ("Fun...
10 years 前 | 0
exist() for functions only?
An option that is not exactly what you describe, but might work for you: isempty(which([functionname,'.m']))
10 years 前 | 2
| 已接受
How to find axes in gui?
Certain plotting functions, including cla, can reset the axes's tag. As Ben11 says, the better option is to store the handle som...
10 years 前 | 0
Table scroll position - Update problem
Usually when something works in debug mode but not in normal operation, it means you need to add a "drawnow" to your code. In de...
10 years 前 | 0
| 已接受
Scope of variables passed to function handles?
As far as i know, yes this is safe and correct. Any non-input variables pass their values to the function *at the time the funct...
10 years 前 | 1
| 已接受
Run CUDA or PTX Code on GPU
I'm not sure, but this sounds like some kind of compilation error maybe, or an error in how you're calling the ptx file from mat...
10 years 前 | 0
Superimposing two figures on the top of each other
Don't use "hold on" to plot both the image and the plot in the same axes. Instead, create two separate axes on top of each other...
10 years 前 | 0
提问
Turn off line smoothing (anti-aliasing) in 2014b?
Is there a way to turn off line smoothing for selected objects (line objects in particular) in 2014b? I mean, it's great and all...
10 years 前 | 1 个回答 | 1
1
个回答GUIDE scrollfunction deleting figure
Ok, I'm not sure exactly what's causing your problem, but it is quite likely the cla resetting something that shouldn't be reset...
10 years 前 | 0
| 已接受
How can I project a 3-D sphere onto a 2-D surface?
Ok... based on your code above, if your question is just how you can quickly update the data to reflect new information about wh...
10 years 前 | 1
How to impose the size of the marker relative to the axis?
The plot markers really arent intended to function with that level of precision. The best way to accomplish what you want is to ...
10 years 前 | 1
what's the difference between | and || in matlab??
Clarification: for short circuit "and" no tests are evaluated after the first "false". For short circuit "or" no tests are evalu...
10 years 前 | 1
| 已接受
Strange performance of MATLAB cuda on matrixes. Any idea?
Calculating timings of GPU functions is very tricky business. You should read all about gpu occupancy and block sizes and all th...
10 years 前 | 0
importing a csv file into matlab automatically after it gets changed
The errror is because when you just type "importfcn" it is attempting to RUN importfcn. What you're trying to do is tell the add...
10 years 前 | 1
| 已接受
Change x-axis with uicontrol slider
All callbacks come with TWO builtin inputs. you forgot the 2nd "eventdata" input. You should have: function xlim(hObj,eventda...
10 years 前 | 0
A simple problem in creating animation
Don't just say "it doesnt work", say WHAT isnt working. The code you posted should draw a rectangle that moves across the screen...
10 years 前 | 0
Colorbar Minor Tickmarks with 2014b
I don't see it hidden anywhere. Incidentally there is a hidden "Axes" property, but it returns the axes the colorbar is linked t...
10 years 前 | 0
| 已接受
Display information about a point by hovering over it on a figure
It is unfortunately not a fairly easy problem. The two main problems are: 1) there is no "documented" way to do this, so you won...
10 years 前 | 1
| 已接受
i need mause coordinate
inputm is only for use with a "map axes" which is created using axesm. It sounds like you are not creating an actual map, just a...
10 years 前 | 1
| 已接受
Passing variables from script to matlab gui directly without using base workspace
You should simply remove any instances of evalin('base'...) from the scripts, and call the scripts from your gui, so that the sc...
10 years 前 | 0
| 已接受
Plotting with image together with scatter plot
You want to use the command "image", not "imshow". Imshow is meant to just display an image for quick viewing, it not meant to b...
10 years 前 | 0
| 已接受
Best Performance to: plot 300-400e6 lines and saving this figure handle
It's not entirely clear what you're trying to accomplish. Are you comparing 300 million waveforms, or 2 waveforms that each cont...
10 years 前 | 0
Rendering issues in Matlab R2014b version when using patch
I suppose this qualifies as a bug, but it seems like a bad coding practice. If you know you want the patch to produce a series o...
10 years 前 | 0
instructor gave us set(gca,'XTick',1:length(numVal)); how do i use this for setting color to inputs?
The [ ] operator in matlab concatenates things. For example [1 2 3] concatenates 3 numbers to make a vector. Similarly ['r','^-'...
10 years 前 | 0
| 已接受
unable to print out the all possible answers, Out of memory and Maximum variable size allowed by the program is exceeded.
The maximum allowed variable size is very large. There is no practical reason to print all combinations if it exceeds this size....
10 years 前 | 0
| 已接受
How do I quickly extracting subdomains of a website?
A quick google search suggests that this is impossible, with or without Matlab.
10 years 前 | 0