Alpha

Image

Alpha

A Alpha

Advertisements

UML Notation – a few examples of key diagrams

English: UML Association Class Diagram

English: UML Association Class Diagram (Photo credit: Wikipedia)

Class diagram of the 13 types of diagrams of t...

Class diagram of the 13 types of diagrams of the Unified Modelling Language 2.0 (Photo credit: Wikipedia)

1) Class Diagram

yadda, absolum nostrum latinae, absolum

caption for diagram

caption for diagram

Interaction Diagram

yadda, absolum nostrum latinae

caption for diagram

caption for diagram

Sequence Diagram

yadda, absolum nostrum latinae

caption for diagram

caption for diagram

State Diagram

yadda, absolum nostrum latinae

caption for demo2 axisplot

caption for demo2 axisplot

Entity Life History

yadda, absolum nostrum latinae

caption for demo2 axisplot - medium

caption for demo2 axisplot – medium

————————————————————————————
James Goode
Tendron Systems Ltd
http://www.tendron.net

Example R code for graph with two y axes

Image

 
Example code to produce a plot with two y axes using R. R is available free from the R CRAN repository.

#
#  Author:   James Goode
#            Tendron Systems Ltd
#
#  Example plot with two y axes
#
n = 150      # number of points
y1 = cumsum(rnorm(n))
y2 = cumsum(rnorm(n, mean=0.5))

par(mai=c(.9, .8, .4, .8))   # margin size, in inches, c(bottom, left, top, right)
plot(1:n, y1, type="l", col="blue", xlab="X values", main="Plot with two axes")
par(new=TRUE)
plot(1:n, y2, type="l", ann=FALSE, yaxt="n")
axis(4)
legend(x="topleft", bty="y", lty=c(1,1), col=c("blue","red"),
legend=c("Line 1 (left y-axis)", "Line 2 (right y-axis)"))


demo2axisPlot