Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vorlage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
vorlage
Commits
154c876e
Commit
154c876e
authored
1 year ago
by
Jannik Dunkelau
Browse files
Options
Downloads
Patches
Plain Diff
Change barplot colours to account for colour blindness
parent
7e18bb11
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
contents.tex
+1
-1
1 addition, 1 deletion
contents.tex
hhuthesis.cls
+10
-9
10 additions, 9 deletions
hhuthesis.cls
with
11 additions
and
10 deletions
contents.tex
+
1
−
1
View file @
154c876e
...
@@ -305,7 +305,7 @@ entweder automatisch auf \texttt{hhucolorcycle} oder \texttt{hhubwcycle}.
...
@@ -305,7 +305,7 @@ entweder automatisch auf \texttt{hhucolorcycle} oder \texttt{hhubwcycle}.
\addplot
coordinates
{
(A,60) (B, 60)
}
;
\addplot
coordinates
{
(A,60) (B, 60)
}
;
\addplot
coordinates
{
(A,45) (B, 45)
}
;
\addplot
coordinates
{
(A,45) (B, 45)
}
;
\addplot
coordinates
{
(A,30) (B, 30)
}
;
\addplot
coordinates
{
(A,30) (B, 30)
}
;
\legend
{
blue,
red
, green,
orange
, cyan
}
\legend
{
blue,
orange
, green,
red
, cyan
}
\end{axis}
\end{axis}
\end{tikzpicture}
\end{tikzpicture}
\caption
[Bar plot with short version of caption for List of Figures]
{
%
\caption
[Bar plot with short version of caption for List of Figures]
{
%
...
...
This diff is collapsed.
Click to expand it.
hhuthesis.cls
+
10
−
9
View file @
154c876e
\NeedsTeXFormat
{
LaTeX2e
}
\NeedsTeXFormat
{
LaTeX2e
}
\ProvidesClass
{
hhuthesis
}
[202
3/10/23
HHU Thesis LaTeX document class v1.2
6
]
\ProvidesClass
{
hhuthesis
}
[202
4/02/14
HHU Thesis LaTeX document class v1.2
7
]
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
article
}}
% Options fallback.
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
article
}}
% Options fallback.
\ProcessOptions\relax
\ProcessOptions\relax
...
@@ -67,17 +67,18 @@
...
@@ -67,17 +67,18 @@
\RequirePackage
{
tikz
}
\RequirePackage
{
tikz
}
\RequirePackage
{
pgf,pgfplots
}
\RequirePackage
{
pgf,pgfplots
}
\usetikzlibrary
{
patterns
}
%% Setup of colour cylce lists for pgfplots
%% Setup of colour cylce lists for pgfplots
\pgfplotscreateplotcyclelist
{
hhucolorcycle
}{
\pgfplotscreateplotcyclelist
{
hhucolorcycle
}{
solid,hhublue,every mark/.append style=
{
solid
}
,mark=*
\\
solid,hhublue,every mark/.append style=
{
solid
}
,mark=*
\\
dashed,hhu
red
,every mark/.append style=
{
solid
}
,mark=square*
\\
dashed,hhu
orange
,every mark/.append style=
{
solid
}
,mark=square*
\\
dashdotted,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond*
\\
dashdotted,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond*
\\
dotted,hhu
orange
,every mark/.append style=
{
solid
}
,mark=triangle*
\\
dotted,hhu
red
,every mark/.append style=
{
solid
}
,mark=triangle*
\\
densely dashed,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
densely dashed,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
loosely dashed,hhublue,every mark/.append style=
{
solid
}
,mark=o
\\
loosely dashed,hhublue,every mark/.append style=
{
solid
}
,mark=o
\\
loosely dotted,hhu
red
,every mark/.append style=
{
solid
}
,mark=square
\\
loosely dotted,hhu
orange
,every mark/.append style=
{
solid
}
,mark=square
\\
densely dashed,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond
\\
densely dashed,hhugreen,every mark/.append style=
{
solid
}
,mark=diamond
\\
loosely dashdotted,hhu
orange
,every mark/.append style=
{
solid
}
,mark=triangle
\\
loosely dashdotted,hhu
red
,every mark/.append style=
{
solid
}
,mark=triangle
\\
densely dotted,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
densely dotted,hhucyan,every mark/.append style=
{
solid
}
,mark=star
\\
}
}
\pgfplotscreateplotcyclelist
{
hhubwcycle
}{
% For black/white print
\pgfplotscreateplotcyclelist
{
hhubwcycle
}{
% For black/white print
...
@@ -95,10 +96,10 @@
...
@@ -95,10 +96,10 @@
%% The same for bar plots
%% The same for bar plots
\pgfplotscreateplotcyclelist
{
hhucolorbars
}{
\pgfplotscreateplotcyclelist
{
hhucolorbars
}{
{
fill=hhublue!30!white, draw=hhublue, text=hhublue
}
,
{
fill=hhublue!30!white, draw=hhublue, text=hhublue
}
,
{
fill=hhu
red
!30!white, draw=hhu
red
, text=hhu
red
}
,
{
fill=hhu
orange
!30!white, draw=hhu
orange
, text=hhu
orange, postaction=
{
pattern=crosshatch dots, pattern color=hhuorange
}
}
,
{
fill=hhugreen!30!white, draw=hhugreen, text=hhugreen
}
,
{
fill=hhugreen!30!white, draw=hhugreen, text=hhugreen
, postaction=
{
pattern=north west lines, pattern color=hhugreen
}
}
,
{
fill=hhu
orange
!30!white, draw=hhu
orange
, text=hhu
orange
}
,
{
fill=hhu
red
!30!white, draw=hhu
red
, text=hhu
red, postaction=
{
pattern=grid, pattern color=hhured
}
}
,
{
fill=hhucyan!30!white, draw=hhucyan, text=hhucyan
}
{
fill=hhucyan!30!white, draw=hhucyan, text=hhucyan
, postaction=
{
pattern=north east lines, pattern color=hhucyan
}
}
}
}
\pgfplotscreateplotcyclelist
{
hhubwbars
}{
\pgfplotscreateplotcyclelist
{
hhubwbars
}{
{
fill=black!75!white, draw=black
}
,
{
fill=black!75!white, draw=black
}
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment