Beantwortet
anyway to add text with given location at a 'pixel' based figure
yep! just do something like: text1 = uicontrol('Style','text','units','pixels',... 'position',[],'String','Hello') Just ...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Number of push button change
Instead of having a pushbutton per segment, perhaps you can create a listbox that will be populated with the number of segments ...

mehr als 7 Jahre vor | 1

Beantwortet
How to extract minimum values in a row and replace them with their variable?
If you want to have both numeric and strings in your table, those table elements will have to be cell arrays. for example, if y...

mehr als 7 Jahre vor | 0

Beantwortet
How to assign shortcuts to user interface control buttons?
You can assign a callback to the 'WindowKeyPressFcn' for your figure. implement code to that callback that will evaluate the ch...

mehr als 7 Jahre vor | 0

Beantwortet
How to display data from editext in listbox in GUI ?
the contains() function can help you out here, or if you want to get fancy, regexp() Set your callback for the 'edit' box to re...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
Change the font of a text edit box using checkbox in gui
You can assign a callback to the checkbox that will change the FontSize property of the text. Example: f= figure txt = uic...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
How can I check a specific axes has an image or not ?
you can get the 'Children' property of the axes. axes_handle.Children %or get(axes_handle,'Children')

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
Remove the need for nested for loop
a = [1 2 3]; da = zeros(numel(a)); for i = 1:numel(a) da(:,i) =a(i) - a end You will save the program some time by pr...

mehr als 7 Jahre vor | 0

Beantwortet
Compute 3D distance between 32 points
The distance beween two points, p1 and p2, in 3d space is the square root of (x2 - x1)^2 + (y2-y1)^2 + (z2-z1)^2. So let's have...

mehr als 7 Jahre vor | 0

Beantwortet
How can i plot on axes on a GUI when click on a push button on another GUI?
try doing: target_axes = findobj(groot,'Tag','modelspace') hope this helps!

mehr als 7 Jahre vor | 0

Beantwortet
Draw a rectangle on an image in gui with mouse hover
Hello, You can use the 'WindowButtonMotionFcn' property of your figure, f = figure; set(f,'WindowButtonMotionFcn',@cursorPos)...

mehr als 7 Jahre vor | 2

| akzeptiert

Frage


Workaround to retrieving 'CurrentPoint' property for PolarAxes
CurrentPoint isnt a property for PolarAxes, does anyone know of an alternative?

mehr als 7 Jahre vor | 0 Antworten | 0

0

Antworten