Hi list, I’m trying to plot lines in the same graphic. There are lots of
similar topic on the list history. I’ve read about xyplot (lattice) and
other ways to do that but I only got complex error messages, and wasn’t able
even to start a decent R scrip. Well I have some paired information (each H
W ), were H is the y axis and W is the x axis, how could I plot all the four
lines at the same image? This lines must follow the points, they are
simplified beaches profiles. And the x and y axis limits must be something
like xlim=c(0,40.5) e ylim=c(0,-2.26).

 

I thought I could do that using plot (x,y,type=’n’) followed be lines(), but
I can’t do that because when I try to plot the lines I get a message saying
the axis size or limits are wrong or different. I used in plot()  x = 3-W
and y = 2-H, once they are greater values….

There’s also another problem, the only line I was able to plot (with
lines()) is a straight and I need lines passing by the x-y points.

 

 


1-H

1-W

2-H

2-W

3-H

3-W

4-H

4-W


0

0

0

0

0

0

0

0


-0,197

5,15

-0,345

3,83

-0,152

3,61

-0,085

3,2


-0,394

8,27

-0,48

8

-0,304

5,31

-0,23

4,1


-0,591

11,77

-0,685

12,41

-0,456

6,35

-0,285

4,65


-0,788

16,12

-0,905

16,82

-0,608

7,85

-0,38

6,35


-0,985

19,59

-1,205

21,23

-0,76

9,74

-0,68

8,45


-1,182

21,89

-1,38

25,64

-0,912

14,34

-0,755

10,5


-1,379

24,42

-1,675

30,05

-1,064

16,57

-0,81

12,8


-1,576

26,86

-2,255

34,5

-1,216

17,67

-0,87

14,75


-1,773

29,46

		-1,375

19,77

-1,01

17,25


-1,905

32,16

		-1,63

26,49

-1,405

26,35

				
-2,13

40,49

		

 

 

Thanks for the attention and patience.

___________________________________
MSc.  <mailto:r.aluizio@gmail.com> Rodrigo Aluizio
Centro de Estudos do Mar/UFPR
Laboratório de Micropaleontologia
Avenida Beira Mar s/n - CEP 83255-000
Pontal do Paraná - PR - BRASIL




	[[alternative HTML version deleted]]

