File:Circle charts.png
From Wikimedia Commons, the free media repository
(Redirected from File:Circle charts.gif)
Circle_charts.png (400 × 376 pixels, file size: 19 KB, MIME type: image/png)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
[edit]DescriptionCircle charts.png | Charts of a circle. Created by me with Matlab. |
Date | 26 June 2005 (original upload date) |
Source | Transferred from en.wikipedia to Commons. |
Author | Oleg Alexandrov at English Wikipedia |
Licensing
[edit]Public domainPublic domainfalsefalse |
![]() |
This work has been released into the public domain by its author, Oleg Alexandrov at English Wikipedia. This applies worldwide. In some countries this may not be legally possible; if so: Oleg Alexandrov grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.Public domainPublic domainfalsefalse |
Source code (public domain)
% prepare the screen
clf; hold on; axis equal; axis off;
N=100; % just a big integer
Arc_size=0.4; % an angle, determining how big the arcs will be
small_radius=12; medium_radius=12.8; big_radius=13.5; % circle radii
thin_line=2.8; thick_line=3.0;
% plot the black circle
Theta=linspace(0, 2*pi, N);
plot(small_radius*cos(Theta), small_radius*sin(Theta), 'color', 'k', 'linewidth', thin_line);
% plot the red piece
Theta=linspace(Arc_size, pi-Arc_size, N);
plot(medium_radius*cos(Theta), medium_radius*sin(Theta), 'color', [1 0 0], 'linewidth', thick_line);
% plot the brown piece
Theta=linspace(-Arc_size, -pi+Arc_size, N);
%plot(medium_radius*cos(Theta), medium_radius*sin(Theta), 'color', [0.8, 0.5, 0.2], 'linewidth', thick_line);
% well, now it is instead yellow
plot(medium_radius*cos(Theta), medium_radius*sin(Theta), 'color', [255 255 0]/256, 'linewidth', thick_line);
% plot the blue piece
Theta=linspace(pi/2-Arc_size, -pi/2+Arc_size, N);
plot(big_radius*cos(Theta), big_radius*sin(Theta), 'color', [0 0 1], 'linewidth', thick_line);
% plot the green piece
Theta=linspace(3*pi/2-Arc_size, 3*pi/2-pi+Arc_size, N);
plot(big_radius*cos(Theta), big_radius*sin(Theta), 'color', [0, 1, 0], 'linewidth', thick_line);
% a hack to create some whitespace around the picture
fr=1.4;
plot(small_radius*fr, small_radius*fr, 'color', [1, 1, 1, ], 'linewidth', 1)
plot(-small_radius*fr, -small_radius*fr, 'color', [1, 1, 1, ], 'linewidth', 1)
%saveas(gcf, 'circle_charts.eps', 'psc2');
print('-dpsc2','-r900', 'circle_charts.eps')
% after that, I open the picture in the Gimp, make sure it gets antialiased, then I crop and resize
Original upload log
[edit]The original description page was here. All following user names refer to en.wikipedia.
- 2005-07-19 02:24 Oleg Alexandrov 400×376×8 (16154 bytes)
- 2005-07-19 02:10 Oleg Alexandrov 300×270×8 (10660 bytes)
- 2005-06-26 04:36 Oleg Alexandrov 250×250×8 (71728 bytes) Charts of a circle. Created by me with Matlab. {{PD}}
![]() |
This math image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
{{vector version available|new image name}} .
It is recommended to name the SVG file “Circle charts.svg”—then the template Vector version available (or Vva) does not need the new image name parameter. |
Original upload log
[edit]Date/Time | Dimensions | User | Comment |
---|---|---|---|
5 June 2007, 15:21:04 | 400 × 376 (16154 bytes) | Oleg Alexandrov (talk · contribs) | {{Information |Description=Charts of a circle. Created by me with Matlab. Source code (public domain) <pre> % prepare the screen clf; hold on; axis equal; axis off; N=100; % just a big integer Arc_size=0.4; % an angle, determining how big the arcs will |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 15:36, 22 November 2014 | ![]() | 400 × 376 (19 KB) | GifTagger (talk | contribs) | Bot: Converting file to superior PNG file. (Source: Circle_charts.gif). This GIF was problematic due to non-greyscale color table. |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
- File:Circle charts.gif (file redirect)