Answered
problem about plot 'x =2'
for Q1: figure;plot([2 2],[-1000 1000],'r')

8 years ago | 0

Question


determine axes handle to which a legend belongs
Hi, pre 2014b I was able to use the following to get the axes handle to which a legend belongs figure; plot(sin(0:0.1...

8 years ago | 1 answer | 0

1

answer

Question


get plot handles from existing legend from 2014b on
On pre 2014b graphic handling the following code to retrieve the displayed strings and the handles of the referenced plot elemen...

9 years ago | 1 answer | 0

1

answer

Answered
Hello, I have 50 text files and i want to pick same value from each having known row and column. there are 25 column and 5765 rows in my text files. Help me Please i m new in Matlab.
first of all: please note the rules for posting questions! bad title, "new to matlab" and so on... now my answer: hel...

9 years ago | 0

Answered
how to delete duplicate values in a cell array of characters
a={'1';'1';'1';'1';'1';'3';'3';'3';'3';'3';'3';'4';'4';'4';'4'}; [~,c,~]=unique(a); tmp=true(size(a)); tmp(c)=false; ...

9 years ago | 1

| accepted

Answered
How to find the second interesection between two plots?
try: http://www.mathworks.com/matlabcentral/fileexchange/11837-fast-and-robust-curve-intersections

10 years ago | 0

Answered
How to force Matlab to only plot some selected strings on the x-axis?
set(gca, 'XTick', 1:100:n, 'XTickLabel', dates(1:100:n,:));

10 years ago | 1

Answered
Helping adding Tittle to Plot (multititle)
title(['my title' var1 var2]) depending on the variable type, you may have to convert to string and add separators like white...

10 years ago | 0

Answered
How to not include an item in a legend
ok, here's the solution: you can tell legend() with which plot handle the legend entry is associated, by: clf; plot(rand...

10 years ago | 3

Answered
How to not include an item in a legend
you could add the data set with the black boxes at last and then only define 2 legend entries.

10 years ago | 0

Answered
Creating a three column table from matrix
Hi, because you want a string in your 4th column, you need a cell array. here's my q&d solution: A=rand(3,3); new = c...

10 years ago | 0

| accepted

Answered
How determine type of plot object?
here's the probably dirtiest code I've written so far, but does, what you want: % make an example plot with several classes...

10 years ago | 0

| accepted

Answered
how to adress a single character in a chart axis title via Matlab COM/ActiveX
If I had known, how to use the get command properly, I would by then have known, that get(pplab,'Characters',n,1) gives me the h...

10 years ago | 0

Answered
Add second y-axis to excel plot
hi anda, if you have data in your chart, that's supposed to be scaled to the secondary y-axis, just move the plot there, here...

10 years ago | 0

Answered
how to adress a single character in a chart axis title via Matlab COM/ActiveX
Finally, I found a workaround! Here's an example str = 'foobar'; subscr = round(rand(length(str),1)); xls = actxserv...

10 years ago | 0