I want to draw a logarithmic plot of wavelength and frequency. The x and y axes show an exponential plot. I want the representation to be a simple number. How do I change the labels on the axes?
Since the wavelength λ = c/f
the graph should get along without a data set, because one end value and one start value of the equation should be enough. How do you realize something like this?
c = speed of light = 299792458 m/s
I have added an example in the appendix.
\documentclass{article}
\usepackage{mwe}
\usepackage{pgfplots}
\usepackage{siunitx}
\begin{document}
\begin{tikzpicture}
\begin{axis}\[
width=0.9\textwidth,
title=Umrechnung Frequenz in Wellenlänge,
xlabel={Frequenz $f$ \[\unit{\MHz}\]},
ylabel={Wellenlänge $\lambda$ \[\unit{\m}\]},
xmin=0, xmax=1000,
ymin=0, ymax=300,
domain=0:1000,
restrict y to domain=0:300,
grid=both
\]
\end{axis}
\end{tikzpicture}
\end{document}