please, any one help me to plot this graph

댓글 수: 15

Azzi Abdelmalek
Azzi Abdelmalek 2017년 9월 28일
What graph?
VALARMATHY K
VALARMATHY K 2017년 9월 28일
KSSV
KSSV 2017년 9월 28일
If you have data in hand....use plot..
VALARMATHY K
VALARMATHY K 2017년 9월 28일
i have give the x y value and plotted it but i don't get curve shape
KSSV
KSSV 2017년 9월 28일
show the code..and data...
VALARMATHY K
VALARMATHY K 2017년 9월 28일
x=[0.1 0.2 0.3 0.4 0.5 0.6 0.7 ]
y=[50 49.5 49 48.5 48 47.5 47]
figure,plot(x,y)
axis([0.1 0.7 30 55]);
VALARMATHY K
VALARMATHY K 2017년 9월 28일
This my output
KSSV
KSSV 2017년 9월 28일
The data is different and the plot you are expecting is different...
I am beginner, i don't have any idea can you please share code for it?
KSSV
KSSV 2017년 9월 28일
Two things: YOu have a data and want to plot? Or from the figure you want data?
VALARMATHY K
VALARMATHY K 2017년 9월 28일
i want data, i want code for it, if i run that code, my output should be like that above figure. That is what i want.
selva raj
selva raj 2017년 10월 1일
clc; clear all; close all; x = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7]; y = [50, 49, 48, 47.5, 47 46.5 46]; plot(x, y, '*-r'), xlim([0.1 0.7]), ylim([30 55]) hold on x1 = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7]; y1 = [49.8, 48.5, 47.2, 46.3, 46 45.5 45]; plot(x1, y1, '*-g'), xlim([0.1 0.7]), ylim([30 55]);
selva raj
selva raj 2017년 10월 1일
VALARMATHY K
VALARMATHY K 2017년 10월 2일
Thank you sir, this is what actually i want

댓글을 달려면 로그인하십시오.

 채택된 답변

KSSV
KSSV 2017년 9월 28일

0 개 추천

Open the image and run this code: https://in.mathworks.com/matlabcentral/fileexchange/7173-grabit, you will get the data and then plot.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2017년 9월 28일

댓글:

2017년 10월 2일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by