Pregunta


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!

casi 12 años hace | 2 respuestas | 0

2

respuestas

Respondida
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...

casi 12 años hace | 0

Pregunta


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...

casi 12 años hace | 1 respuesta | 0

1

respuesta

Respondida
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...

casi 12 años hace | 1

Respondida
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...

casi 12 años hace | 1

Respondida
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 :)

casi 12 años hace | 1

| aceptada

Respondida
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?

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 0

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

casi 12 años hace | 0

Respondida
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.

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 0

Respondida
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?

casi 12 años hace | 0

Respondida
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....

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 0

Pregunta


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...

casi 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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

casi 12 años hace | 5 respuestas | 0

5

respuestas

Respondida
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...

casi 12 años hace | 0

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

alrededor de 12 años hace | 0

| aceptada

Respondida
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, ...

alrededor de 12 años hace | 0

Respondida
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()* ...

alrededor de 12 años hace | 0

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

alrededor de 12 años hace | 1

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

alrededor de 12 años hace | 1

| aceptada

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

alrededor de 12 años hace | 0

| aceptada

Respondida
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...

alrededor de 12 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 12 años hace | 0

| aceptada

Respondida
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 (...

alrededor de 12 años hace | 0

Respondida
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) ...

alrededor de 12 años hace | 0

Respondida
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...

alrededor de 12 años hace | 0

| aceptada

Pregunta


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 ...

alrededor de 12 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

alrededor de 12 años hace | 1 respuesta | 0

1

respuesta

Cargar más