Question


How to see if grid is on?
Hey, Quick question: Is there a way to check if grid is on or off in a certain axes? Cheers!

12 years ago | 2 answers | 0

2

answers

Answered
Pinhole camera model
Woops, I think I hadn't had enough coffee when I wrote this. The thing is, that it's not working correctly. There should be some...

12 years ago | 0

Question


Pinhole camera model
I'm working on a pinhole camera model which is supposed to sample a 3D volume. I want to choose a view axis, which should be per...

12 years ago | 1 answer | 0

1

answer

Answered
Pause function in matlab for 1 millisecond
Doesn't work how? And what Matlab version are you using? In R2011b, running Windows 7, I get the following results >> tic;p...

12 years ago | 1

Answered
Rotate an array of lines
If you for some reason can't get the built in functions to do as you want, you could always try it the old school way (doing the...

12 years ago | 1

Answered
How to retrieve a word from a filename
name = 'rgb_watermark_lena.jpg'; name(end-7:end-4) ans = lena You probably get the point :)

12 years ago | 1

| accepted

Answered
Run a function when a GUI fig is opened?
You can run it through the GUI opening function, or do you mean for _any_ figure which is opened?

12 years ago | 0

Answered
plot parameter changes
I think you need to be a bit more specific. I.e. what is the parameter you change? How do you change it? Where and how would you...

12 years ago | 0

Answered
drawing line
How can a scalar be a direction? And do you know the "line" function?

12 years ago | 0

Answered
3D image
Is your image a jpg-file? Because then it is 2D since, as far as I'm concerned, jpg doesn't support 3D structures.

12 years ago | 0

Answered
Good image comparison technique for signatures.
Supposing that the signature is more or less in the same place every time, how about some sort of cross correlation of the signa...

12 years ago | 0

Answered
Good image comparison technique for signatures.
Don't think code, until you have to idea in place. Do you have any specific ways you want it to work? Or any thoughts on it?

12 years ago | 0

Answered
Alpha mapping using 'surf'
OS is Ubuntu 10.04 LTS. And it can do opacity using a single fixed value, its only when trying to use a map, that im struggling....

12 years ago | 0

Answered
Calculation speed
Aha, I'll use the bench function instead. Thanks to all of you, for being awesome! Except the fact that now I'll be playing with...

12 years ago | 0

Question


Alpha mapping using 'surf'
Hey, I'm trying to make part of a surface, created using the 'surf' function, transparent. Its a 300x300 image that is surfe...

12 years ago | 2 answers | 0

2

answers

Question


Calculation speed
I tried making a very simple algorithm for testing the computers speed, like this tic; for r = 1:2000; for c = 1:...

12 years ago | 5 answers | 0

5

answers

Answered
Output at GUI
In that case, you need to clarify something for me, since I can't see your GUI... # How exactly does you GUI work? Is it a te...

12 years ago | 0

Answered
matlab GUIs
Hmm, maybe 'findobj' could work. I tried some code that seemed to work: % Find all figures list_of_figs = findobj('type'...

12 years ago | 0

| accepted

Answered
Output at GUI
You can call functions from you GUI just like you normally would, but with one exception. You need to pass the handles as well, ...

12 years ago | 0

Answered
Inserting a picture on a GUI
Also, don't confuse the name of the axes, which is _axes1_ by default (or _handles.axes1_ for the full name), with the *axes()* ...

12 years ago | 0

Answered
put length "ginput" above the line
You can adjust the properties either at creation... text(xLocation, yLocation, 'textString', 'Color', 'Red', ... 'F...

12 years ago | 1

Answered
put length "ginput" above the line
% Aquire locations dX = -10; % Text horizontal offset, change to adjust dY = 10; % Text height offset, ...

12 years ago | 1

| accepted

Answered
color of "ginput"
You can change the looks by changing cursor type... set(gcf, 'pointer', 'crosshair'); And then you can change it back by...

12 years ago | 0

| accepted

Answered
how to calculate vertical and horizontal projection histogram for an image
Let me see if I get this right... You want to make a histogram, but instead of having a color intensity as bin numbers, you want...

12 years ago | 0

| accepted

Answered
reduce the size of figure,
Then you are looking for some clever matrix work, rather than figure size. Try smth like this: wavelength = 100; a ...

12 years ago | 0

| accepted

Answered
reduce the size of figure,
Try this: tic; xRes = 1; % Sets the resolution (step length), in µm, along the x-axis. yRes = 1; % Sets the resolution (...

12 years ago | 0

Answered
reduce the size of figure,
Here is an example: % Create a 1000x500 px figure, at the position x,y = 10,10 (starting at the left % bottom corner) ...

12 years ago | 0

Answered
Clear all
Can you plot the code around where you include the "Clear All"? Also, a bit of a long shot here, but you could try *pause(1)*, t...

12 years ago | 0

| accepted

Question


External mouse track function
Hey, I made a function to track the cursor over certain handles, but for the sake of simplicity, i would like that to be an ...

12 years ago | 2 answers | 0

2

answers

Question


Clear axes - Except image
I got a GUI with several different axes, for different images. I plot some scatters and lines on these images. But it is a mess ...

12 years ago | 1 answer | 0

1

answer

Load more