File:Comb.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 640 × 480 pixels, file size: 30 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: Topologist's comb
Polski: Grzebień topologiczny
Date
Source Own work
Author Adam majewski
SVG development
InfoField
 
The SVG code is valid.
 
This chart was created with Gnuplot.
 
This chart uses translateable embedded text.
Source code
InfoField
Gnuplot code
load(draw); /* by Mario Rodríguez Riotorto  http://riotorto.users.sourceforge.net/gnuplot/index.html  */

draw2d(
 title     = "Topologist\\47s comb", /* Syntax for postscript enhanced option; character 47 = '  */
 xrange        = [0.0,1.2],
 yrange        = [0,1.2],
 file_name = "comb2",
 terminal      = svg,
 points_joined = impulses, /* vertical segments are drawn from points to the x-axis  */
 color         = "blue",
 points(makelist(1/x,x,1,1000),makelist(1,y,1,1000)) )$
Data
Here is code using different technique ( points) and definition ( not 1/n but 1/(2^n) ):
/* 
   Ergodic Theory and Dynamical Systems (1998), 18 : pp 739-758
    1998 Cambridge University Press
    Describing quadratic Cremer point polynomials by parabolic perturbations
   DAN ERIK KRARUP SØRENSEN 

  Maxima CAS code 

*/


kill(all);
remvalue(all);

/* ------- functions --------------- */

GivePoints(i):= points([[1/(2^i) ,0],[1/(2^i),1]])$

compile(all);

/* ----- constans and variables     --- */

iMax:100;
p:[];   /* list with points object */
pp:[]; /* list of points objects  */

/* --------- main -------------*/

pp:[points([[0,0],[1,0]]), points([[0,0],[0,1]] )]$

for i:0 thru iMax step 1 do
(
 p:GivePoints(i),
 pp:cons(p,pp)
)$

/* ---------- draw image  ----------- */
load(draw);

draw2d(
 title     = "Topologist\\47s comb", /* Syntax for postscript enhanced option */
 xrange        = [-0.2,1.2],
 yrange        = [-0.2,1.2],
 file_name = "comb_p",
 terminal      = screen,
 point_type = filled_circle,
 point_size = 0.5,
 points_joined = true, /* draws segments between points  */
 color         = "blue",
 pp )$

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
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.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
You may select the license of your choice.

File history

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

Date/TimeThumbnailDimensionsUserComment
current19:19, 4 August 2012Thumbnail for version as of 19:19, 4 August 2012640 × 480 (30 KB)Soul windsurfer (talk | contribs)Valid svg code after manual changes.
18:42, 4 August 2012Thumbnail for version as of 18:42, 4 August 2012640 × 480 (30 KB)Soul windsurfer (talk | contribs)Syntax for postscript enhanced option
18:17, 4 August 2012Thumbnail for version as of 18:17, 4 August 2012640 × 480 (30 KB)Soul windsurfer (talk | contribs){{Information |Description ={{en|1=Topologists comb}} {{pl|1=Grzebień topologiczny}} |Source ={{own}} |Author =Adam majewski |Date =2012-08-04 |Permission = |other_versions = }} [[Category:Topol...

The following page uses this file:

File usage on other wikis

The following other wikis use this file:

Metadata