File:Beta versus rapidity.svg

Uploaded by Boud
Upload date 2024-03-16T12:52:50Z
MIME type image/svg+xml
Dimensions 524 × 393 px
File size 16.3 KB

Summary

Description
English: This diagram for the Wikiversity:Special relativity and steps towards general relativity course shows the relation between speed and rapidity. Use the octave source code below to produce a better quality postscript figure than the .svg figure.
Date
Source Own work
Author Boud

octave source code

The .svg version of the file, along with a better quality encapsulated postscript file, is produced by

  • the following octave source code,
  • in a local directory called /tmp
## octave script 
## * output files created in /tmp : tanh.(eps|svg)
## * the .svg file is likely to have font problems, the .eps file should be OK
set(gcf(),"defaultlinelinewidth",3);
phi=linspace(-5,5,500);
plot(phi,tanh(phi),'-',
     [-5 5],[-1 -1],'-k','linewidth',1,
     [-5 5],[1 1],'-k','linewidth',1)
set(gca(),"fontsize",24, "linewidth",3);
xlabel('{\fontsize{32}\phi}');
ylabel('{\fontsize{32}\beta = tanh \phi }');
axis([-5 5 -1.5 1.5])
print('/tmp/Beta_versus_rapidity.eps','-deps','-F:24')
print('/tmp/Beta_versus_rapidity.svg','-dsvg')

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

8 July 2011

image/svg+xml

480 pixel

600 pixel

16,700 byte

796a5881183abc72b60023b6501da0f6d4e69610

Category:CC-BY-SA-3.0 Category:Created with GNU Octave Category:Hyperbolic tangent function Category:Minkowski diagrams Category:Self-published work