I am attempting to use TiKZ and pgfplots to construct a seismic tripartite graph. These are used by structural engineers to determine seismic response for a structure. The example I am attempting to replicate is pasted below. This is related to my post is Engineering.SE, for those interested.
My working example is pasted below.
\documentclass[letter,landscape]{article}
\usepackage[bindingoffset=0.2in,%
left=0.5in,right=0.5in,top=0.5in,bottom=0.5in,%
footskip=.25in]{geometry}
\usepackage{pgfplots}
\pgfplotsset{compat=1.5}
\begin{document}
\begin{tikzpicture}
% Primary Axes
\begin{loglogaxis}[
%
width=9in, height=7in,
title=Tripartite Paper,
% Frequency Axis
xlabel={Frequency (Hz)},
xmin=0.1, xmax=1000,
domain=1:1000,
log ticks with fixed point,
x tick label style={/pgf/number format/1000 sep=\,},
% Pseudovelocity Axis
ylabel={Pseudo Response Velocity (in/sec)},
ymin=0.01, ymax=10,
domain=1:100,
log ticks with fixed point,
y tick label style={/pgf/number format/1000 sep=\,},
grid=minor
]
\end{loglogaxis}
% Secondary Axes
\begin{loglogaxis}[
% Pseudoacceleration Axis
xlabel={Acceleration (g)},
xlabel style={rotate=45,anchor=north},
xmin=0.0001, xmax=100,
domain=0.0001:100,
rotate=45,
log ticks with fixed point,
x tick label style={rotate=-45, anchor=west, /pgf/number format/1000 sep=\,},
% Displacment Axis
ylabel={Displacement (in)},
ylabel style={rotate=-135,anchor=south},
ymin=0.000001, ymax=10,
domain=0.000001:10,
log ticks with fixed point,
y tick label style={rotate=45, anchor=east, /pgf/number format/1000 sep=\,},
grid=minor
]
\end{loglogaxis}
\end{tikzpicture}
\end{document}
This generates the following graph, which has some obvious issues.
The things that I can't figure out how to fix are:
- Remove the border from the secondary axes
- Have the secondary axes extend beyond the extents of the primary axes (ideally ad infinitum with an anchor point at a specific place)
- Keep all the major axis gridlines square and the same size
- Put the secondary axis labels above the major gridlines (see example)
- Move the secondary axis tick labels in the middle of the graph



