Commit 1db8221c authored by Leif Andersson's avatar Leif Andersson
Browse files

Changed all names to JuliaTikzModule

parent c19e9fef
name = "JuliaTikz"
name = "JuliaTikzModule"
uuid = "9c98e656-dfbc-11ea-2f36-4b421b45bbac"
authors = ["Leif Andersson <leif.andersson@control.lth.se>"]
version = "0.1.0"
[deps]
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
ControlSystems = "a6e380b2-a6ca-5380-bf3e-84a91bcd477e"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
# JuliaTikz.jl
# JuliaTikzModule.jl
## Please note that the module is called JuliaTikzModule,
## because the system would not accept the same name for
## a module and a function in the module.
Enables Julia code and Tikz code to coexist in the same file.
### JuliaTikz
JuliaTikz(tikzfile,delete=true)
Extract and run the Julia part of a combined tikz/Julia file.
The boundary between the two is the string
\\endinput Julia <name>
where `<name>` is the name that will be given to the Julia file
(with .jl appended), and also to a variable `name` in the program,
i.e. name = "<name>".
The Julia file will be extracted to a temporary directory, which will be
deleted after the run unless the optional argument `delete` is false.
### printcsv
printcsv(data::Array{Any}, csv="")
Print the array `data` to a file suitable for inclusion in pgfplots.
The columns of `data` should have a string as first element, and Float64
as the remaining elements.
The default name of the file will be `<name>.csv`, where `<name>` is the value
of the global variable `name`, typically given by `JuliaTikz`. Another name may
be specified whith the second argument of `printcsv`.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment