Filter löschen
Filter löschen

how to rotate plotted figure and how to covert plotted image as graph

2 Ansichten (letzte 30 Tage)
DEEPAK P
DEEPAK P am 18 Apr. 2017
Kommentiert: DEEPAK P am 26 Apr. 2017
am doing my project on graph extraction in hand written word image i want to covert plotted image as graph.
this is my plotted image i want to rotate that image and then i want convert it as graph.
please help me.
  2 Kommentare
Jan
Jan am 18 Apr. 2017
What exactly does "convert it to graph" mean? Do you want to rotate the image or the data?
DEEPAK P
DEEPAK P am 19 Apr. 2017
i want to convert the plotted figure as graph. because i doing my project on graph matching in hand written word image.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

KSSV
KSSV am 19 Apr. 2017
I = imread('grrp.jpg') ;
I1 = rgb2gray(I) ;
I1(I1>200) = 0 ; % convert white background to black
[x,y] = find(I1~=0) ; % get the non zeros
plot(x,y,'.r') ;
set(gca,'ydir','reverse')
set(gca,'xdir','reverse')
  3 Kommentare
KSSV
KSSV am 19 Apr. 2017
Yes..I have taken your attached image in the above code.
DEEPAK P
DEEPAK P am 26 Apr. 2017
sir i want to rotate the when its plotting

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by