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!

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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 :)

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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?

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
drawing line
How can a scalar be a direction? And do you know the "line" function?

plus de 13 ans il y a | 0

Réponse apportée
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.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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?

plus de 13 ans il y a | 0

Réponse apportée
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....

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 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...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

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

plus de 13 ans il y a | 5 réponses | 0

5

réponses

Réponse apportée
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...

plus de 13 ans il y a | 0

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

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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, ...

plus de 13 ans il y a | 0

Réponse apportée
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()* ...

plus de 13 ans il y a | 0

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

plus de 13 ans il y a | 1

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

plus de 13 ans il y a | 1

| A accepté

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

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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 (...

plus de 13 ans il y a | 0

Réponse apportée
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) ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

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

plus de 13 ans il y a | 2 réponses | 0

2

réponses

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

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Charger plus