Frage


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!

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

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

fast 12 Jahre vor | 0

Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 12 Jahre vor | 1

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

fast 12 Jahre vor | 1

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

fast 12 Jahre vor | 1

| akzeptiert

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

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

fast 12 Jahre vor | 0

Frage


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

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 12 Jahre vor | 5 Antworten | 0

5

Antworten

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

fast 12 Jahre vor | 0

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

etwa 12 Jahre vor | 0

| akzeptiert

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

etwa 12 Jahre vor | 0

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

etwa 12 Jahre vor | 0

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

etwa 12 Jahre vor | 1

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

etwa 12 Jahre vor | 1

| akzeptiert

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

etwa 12 Jahre vor | 0

| akzeptiert

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

etwa 12 Jahre vor | 0

| akzeptiert

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

etwa 12 Jahre vor | 0

| akzeptiert

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

etwa 12 Jahre vor | 0

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

etwa 12 Jahre vor | 0

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

etwa 12 Jahre vor | 0

| akzeptiert

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden