Matlab - plotting title and labels, plotting line properties formatting options

  Рет қаралды 38,738

Painless Programming

Painless Programming

Күн бұрын

Пікірлер: 33
@Happymind1331
@Happymind1331 3 жыл бұрын
Its mind-blowing explanation Plz tell how to make trend line and equation
@PainlessProgramming
@PainlessProgramming 3 жыл бұрын
Thanks for watching and commenting. You might enjoy this video on creating trend lines using MATLAB. kzbin.info/www/bejne/pHivkpucZth_aaM
@nurulsabrina766
@nurulsabrina766 5 жыл бұрын
thanks. it's really help me to make the line graph wider
@PainlessProgramming
@PainlessProgramming 5 жыл бұрын
Glad I could help. Thanks for the feedback!
@miloshabrittonordb1580
@miloshabrittonordb1580 4 жыл бұрын
Hey is it possible to get the powerpoint presentation you have in the video?
@Rainstorm121
@Rainstorm121 3 жыл бұрын
thanks a lot..... what should i do to increase the size (e.g. lengths) of the map in each subplots? I plotted 3 rows of map in subplots but unfortunately the sizes are very very small. Also, I have biggest space between the subplots of left and right side column of plots....is there a way to delete these spaces?
@sumitkumarpurswani6914
@sumitkumarpurswani6914 Жыл бұрын
How to change of format of y value of graph. I want 7 decimal instead of 4 decimals
@owayo_1547
@owayo_1547 4 жыл бұрын
Can u give us the POWERPOINT slides please ? and thanks !
@ing-alim-2
@ing-alim-2 3 жыл бұрын
Why the axis titles overlaps with the numerical scale... it's just me?
@Michael_Scofield0007
@Michael_Scofield0007 3 жыл бұрын
good but i need some more commands to prepare....
@Soler4485
@Soler4485 3 жыл бұрын
Say I have a massive file full of data with 8000 points in each column and I want to graph all the individual data points in each column for x and y axis respectively. How do I both program and plot this?
@PainlessProgramming
@PainlessProgramming 3 жыл бұрын
If you are reading the data from a file, you would use something like: fgets or textscan. kzbin.info/www/bejne/novPc6lvotBnaNk kzbin.info/www/bejne/Zn7XoYeNgK5-qLc to get your data. Then you can plot it. If Matlab is struggling with the large file size, you could read in part of the data, graph, use hold on to keep the graph up and then read more data and graph.
@LustrousKingMax
@LustrousKingMax 5 жыл бұрын
Can I have the powerpoint slides you're using please
@emrankarimi9887
@emrankarimi9887 4 жыл бұрын
Thank you .
@PainlessProgramming
@PainlessProgramming 4 жыл бұрын
You are welcome. Thanks for watching!
@tonystark_apache
@tonystark_apache 3 жыл бұрын
Thank sis..
@sametkarakoyunlu8835
@sametkarakoyunlu8835 4 жыл бұрын
Thanks :)
@PainlessProgramming
@PainlessProgramming 4 жыл бұрын
Thanks for watching!
@criccenter9619
@criccenter9619 4 жыл бұрын
How can I plot (X,Y) When X=-3:0.1:3; Y=X² + 3*Y - exp(X-2*Y); Please reply..
@PainlessProgramming
@PainlessProgramming 4 жыл бұрын
your X= line is correct, but there is a problem with Y=X^2 + 3*Y... (you are trying to use Y before it's defined). and exp requires a square matrix as input. Again you are using Y in the parenthesis before you have defined what Y equals.
@criccenter9619
@criccenter9619 4 жыл бұрын
@@PainlessProgramming No ma'am undefined ' Y ' error occurrs when it is used directly but there are different ways to get answer like we can use fsolve ,fzero, fimplicit,vpasolve ,ezplot,etc. I have used this all but unable to get proper plot . I didn't get any undefined variable in using above function nor any syntax error of square matrix . If you know any alternative please suggest code.
@elkhalildami3158
@elkhalildami3158 4 жыл бұрын
why we use hold on
@PainlessProgramming
@PainlessProgramming 4 жыл бұрын
hold on - is useful in keeping the current graph up so you can add more content. Otherwise every time you have another plot command, any previously plotted lines are lost.
@Azharafridi-1997
@Azharafridi-1997 3 жыл бұрын
Hi...how r u mam....i have a question can u solve it....
@emrankarimi9887
@emrankarimi9887 4 жыл бұрын
How can i write on graph lines?
@PainlessProgramming
@PainlessProgramming 4 жыл бұрын
The text function can add text to go along with a point on the line. mathworks has some good examples: www.mathworks.com/help/matlab/creating_plots/add-text-to-specific-points-on-graph.html
@emrankarimi9887
@emrankarimi9887 4 жыл бұрын
@@PainlessProgramming thank you.
@mekdesmesfin1365
@mekdesmesfin1365 4 жыл бұрын
plot(t,C1,'s-','MarkerSize',6,'MarkerFaceColor','c',t,C2,'k--','linewidth',2) this line has an error ......can anyone help me
@PainlessProgramming
@PainlessProgramming 4 жыл бұрын
I think Matlab is getting confused because of the position of the data (t,C1,C2) and the other arguments. This should work: plot(t,C1,'s-', t, C2, 'c','MarkerSize',6,'MarkerFaceColor','c', 'linewidth', 2); or you can specify each line with a separate plot command but use hold on so they appear on the same graph: hold on; plot(t,C1,'s','MarkerSize',6,'MarkerFaceColor','c'); plot(t,C2,'k--','linewidth',2);
@PTIPakistan12
@PTIPakistan12 4 жыл бұрын
How are u
@konstantinosstavropoulos3605
@konstantinosstavropoulos3605 4 жыл бұрын
hi
@hakanozturk8367
@hakanozturk8367 3 жыл бұрын
Thank you.
@Azharafridi-1997
@Azharafridi-1997 3 жыл бұрын
Hi...how r u mam....i have a question can u solve it....
matlab If Statements
5:34
Painless Programming
Рет қаралды 443
2D Plotting in Matlab
25:08
Christopher Lum
Рет қаралды 169 М.
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 47 МЛН
HELP!!!
00:46
Natan por Aí
Рет қаралды 45 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 7 МЛН
7.1 Label and Annotation in MATLAB
25:47
Salem ibrahim
Рет қаралды 6 М.
Intro to MATLAB - Week 3 - Formatting plots (axes, title, legend)
24:03
Basics of While Loops
13:14
SnugglyHappyMathTime
Рет қаралды 37 М.
One CPU To Rule Them All - Ryzen 7 9800X3D Review
12:47
Linus Tech Tips
Рет қаралды 463 М.
Generate high quality plots with MATLAB
12:38
APMonitor.com
Рет қаралды 87 М.
FOR loops in MATLAB: Using loops for plotting
8:19
RobertTalbertPhD
Рет қаралды 159 М.
💻 How to import and plot data from EXCEL to MATLAB ?
14:29
CAD CAM CAE TUTORIALS
Рет қаралды 106 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
CAN YOU DO THIS ?
00:23
STORROR
Рет қаралды 47 МЛН