14 Commits

Author SHA1 Message Date
c49f1364b9 Merge branch 'developer' of https://gitea.hokage.de/RecklingK/Demo into developer 2019-12-20 11:45:51 +01:00
1a6df64a6d Merge branch 'developer' of https://gitea.hokage.de/RecklingK/Demo into developer 2019-12-20 11:44:04 +01:00
4d6c216b0d funktion paar zeilen 2019-12-20 11:43:43 +01:00
31c96cfa99 pre-cherry 2019-12-20 11:33:03 +01:00
672300019d plot chic gemacht 2019-12-20 11:15:15 +01:00
3158fefa3a ggplot verlängert 2019-12-20 11:07:34 +01:00
49bb0ddc29 ggplot für fazfi limit 1000 2019-12-20 11:05:32 +01:00
62aa22a678 function c
demo function ggplot lines
2019-12-20 10:51:31 +01:00
8c7eacfdbd function a
demo ggplot function
2019-12-20 10:48:44 +01:00
3c4b0b93f6 add libraries 2019-12-20 10:46:05 +01:00
7148d6fbca add lines to plot 2019-12-20 10:46:05 +01:00
5bc0a6d998 function g
demo if else
2019-12-20 10:46:05 +01:00
44e933d40d python function amended 2019-12-20 10:42:53 +01:00
73b6f2ea41 function b
demo ggplot points
2019-12-20 10:29:24 +01:00
3 changed files with 61 additions and 0 deletions

View File

@@ -1,12 +1,47 @@
library(ggplot2); library(grid)
Hello!
b <- function() {
#this function is a demo function
ggplot() +
ggpoint() +
scale_discrete() +
theme()
}
def neue_funktion():
print("kreativ")
print("sven")
c <- function() {
#this function is a demo function
ggplot() +
gglines() +
scale_discrete() +
theme()
}
print("welt")
g <- if(b == a) {
print("bla bla")
} else {
print("nee")
}
print("issues")
a <- function() {
#this function is a demo function
ggplot() +
ggbar() +
scale_discrete() +
theme()
}
plot(letters[1:5], seq(1:5))
lines(1:5, rep(1,5), col="red")
lines(rep(2,5), 1:5, col="green")
grid()
#finale oh oh

16
demoFZSTAM.R Normal file
View File

@@ -0,0 +1,16 @@
library(ggplot2); library(RODBC)
channel <- odbcConnect("ebv_d29", uid = "RECKLINGK", pwd = "stapler13")
test <- sqlQuery(channel, stringsAsFactors=F,
"SELECT FZSTAM.FIRNR, FZSTAM.FAZID, FZSTAM.FAZFI, FZSTAM.BAUJJ
FROM FZSTAM
WHERE FZSTAM.FIRNR = 1
LIMIT 1000
")
odbcCloseAll(); rm(channel)
ggplot(test, aes(x=FAZID)) +
geom_line(aes(y=FAZFI)) +
geom_line(aes(y=BAUJJ), col="red") +
scale_fill_hue(c = 40) +
theme_bw()

10
test.py Normal file
View File

@@ -0,0 +1,10 @@
def testfunktion(*args, **kwargs):
print(*args, end="")
testfunktion(
"mein",
"test",
"noch",
"mehr",
)