File:Scalar fields theta.svg

From Wikiversity
Jump to navigation Jump to search

Original file(SVG file, nominally 600 × 480 pixels, file size: 129 KB)

This is a file from the Wikimedia Commons. The description on its description page there is shown below.

Commons is a freely licensed media file repository. You can help.

Summary

Description
English: This diagram for the Wikiversity:Special relativity and steps towards general relativity course is used in showing that the coordinate typically called θ is a scalar field. This is a small step towards explaining the algebra of tensor fields. A scalar field is itself a (0,0) tensor field.
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
  • the .svg file is about 260 times as big as the source code
  • the .eps file is about 50 times as big as the source code
## (c) CC-BY-SA-3.0 or later
## octave script: visual intuition of a coordinate of the Euclidean plane
## as scalar fields on a smooth 2-manifold

n_dots=30; # a small number of points - keep postscript file size small
x=linspace(-1,1,n_dots);
y=linspace(-1,1,n_dots);
xmat=repmat(x,n_dots,1);
ymat=repmat(y',1,n_dots);
theta=atan2(ymat,xmat);
imagesc(x,y,theta)
xlabel('{\fontsize{28} scalar field  \theta}')
hold on
plot([-1 0], [0 0],'-w','linewidth',10) ## emphasise the coordinate singularity
print('/tmp/Scalar_fields_theta.eps',"-depsc","-F:20")
print('/tmp/Scalar_fields_theta.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

12 July 2011

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current23:04, 11 July 2011Thumbnail for version as of 23:04, 11 July 2011600 × 480 (129 KB)Boud

Metadata