Domanda


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!

oltre 12 anni fa | 2 risposte | 0

2

risposte

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 5 risposte | 0

5

risposte

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 1

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

oltre 12 anni fa | 1

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

| accettato

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

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

oltre 12 anni fa | 0

| accettato

Domanda


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

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 12 anni fa | 1 risposta | 0

1

risposta

Carica altro