File:Raster vector tikz.svg
![File:Raster vector tikz.svg](https://upload.wikimedia.org/wikipedia/commons/thumb/c/c2/Raster_vector_tikz.svg/628px-Raster_vector_tikz.svg.png?20200520185946)
Size of this PNG preview of this SVG file: 628 × 497 pixels. Other resolutions: 303 × 240 pixels | 607 × 480 pixels | 971 × 768 pixels | 1,280 × 1,013 pixels | 2,560 × 2,026 pixels.
Original file (SVG file, nominally 628 × 497 pixels, file size: 21 KB)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
editDescriptionRaster vector tikz.svg |
English: a graph showing differences in vector and raster files using tikz:
\documentclass[12pt]{article}
\usepackage{tikz}
\usepackage{verbatim}
\usetikzlibrary{positioning}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}[scale=.9,every node/.style={minimum size=1cm},on grid]
\begin{scope}[
yshift=-170,every node/.append style={
yslant=0.5,xslant=-1},yslant=0.5,xslant=-1
]
\fill[white,fill opacity=0.9] (0,0) rectangle (8,8);
\draw[black,very thick] (0,0) rectangle (8,8);
\fill[green!70!black] (0,0) rectangle (8,8);
\filldraw[blue] (0,1) -- (2,3) -- (6.5,6.5) -- (7.5,8) -- (8,8) -- (8,7.5) -- (2.5,2.5) -- (1,0) -- (0,0);
\filldraw[red!80!black] (3,1) -- (2.8, 1.2) -- (3.2,1.8) -- (3.4,2) -- (4.2,2.2) -- (3.8,.9) ;
\filldraw[red!80!black] (6.2,4.2) -- (5.7,4.8) -- (5.8,5.2) -- (7,5) -- (7.2,4.8) -- (7.3,4.1) -- (7,4) ;
\filldraw[red!80!black] (1.6,5.1) -- (2.2,5.8) -- (3.2,6.1) -- (4.2,6.1) -- (3.7,4.8) ;
\filldraw[lightgray] (5.7,0.4) -- (5.5,1.1) -- (6.1,1.9) -- (7.1,2.5) -- (7.2,0.6) ;
\filldraw[lightgray] (5,7) -- (4.7,7.9) -- (6.4,7.8) -- (6.2,7.3) -- (6,7) ;
\end{scope}
\begin{scope}[
yshift=0,every node/.append style={
yslant=0.5,xslant=-1},yslant=0.5,xslant=-1
]
\draw[black,very thick] (0,0) rectangle (8,8);
\fill[green!70!black] (0,0) rectangle (8,8);
\filldraw[blue] (0,0) -- (0,1) --(0.5,1) --(0.5,1.5) -- (1,1.5) -- (1,2) --(1.5,2) --(1.5,2.5)--(2,2.5) --(2,3) --(2.5,3)--(2.5,3.5)--(3,3.5)--(3,4)--(3.5,4)--(3.5,4.5)--(4.5,4.5)--(4.5,5)--(5,5)--(5,5.5)--(5.5,5.5)--(5.5,6)--(6,6) --(6,6.5)--(6.5,6.5)--(6.5,7)--(7,7)--(7,7.5)--(7.5,7.5)--(7.5,8) -- (8,8) --(8,7.5) --(7.5,7.5) --(7.5,7) --(7.5,6.5) --(6.5,6.5) -- (6.5,6) -- (6,6)-- (6,5.5)-- (5.5,5.5)-- (5.5,5) -- (5,5) -- (5,4.5) --(4.5,4.5) -- (4.5,4) --(3.5,4) --(3.5,3.5) -- (3.5,3) --(3,3) -- (2.5,3) -- (2.5,2.5) --(2,2.5) -- (2,2) --(2,1.5) -- (1.5,1.5)--(1.5,.5)--(1,0.5) --(1,0);
\filldraw[red!80!black] (3,1) -- (3,2) -- (4,2) -- (4,1) ;
\filldraw[red!80!black] (6,4.5) -- (5.5,4.5) -- (5.5,5) -- (7,5) -- (7,4.5) -- (7.5,4.5) -- (7.5,4) -- (6,4) ;
\filldraw[red!80!black] (2,5) -- (2,5.5) -- (2.5,5.5) -- (2.5,6) -- (4,6) -- (4,5) ;
\filldraw[lightgray] (5.5,0.5) -- (5.5,1.5) -- (6,1.5) -- (6,2) -- (7,2) -- (7,0.5) ;
\filldraw[lightgray] (5,7) -- (5,8) -- (6.5,8) -- (6.5,7.5) -- (6,7.5) -- (6,7) ;
\draw[step=5mm, black] (0,0) grid (8,8); %defining raster grid
\end{scope}
\draw[very thick,gray!70!black](3,-5.5)node[right]{\huge{vector data}} ;
\draw[very thick,gray!70!black](3,7.5)node[right]{\huge{raster data}} ;
\draw[-latex,very thick,black](-7,-5)node[left]{\Large{river}}to[out=0,in=180] (-.5,-2);
\draw[-latex,very thick,black](-7,-5)node[left]{ }to[out=0,in=210] (0,.75);
\draw[-latex,very thick,black](-7,7)node[left]{\Large{urban area}}to[out=0,in=160] (-2.8,6.7);
\draw[-latex,very thick,black](-7,7)node[left]{ }to[out=0,in=180] (-2.8,.4);
\end{tikzpicture}
\end{document}
|
Date | |
Source | File:Raster_vector_tikz.png |
Author | Johannes Rössel |
Other versions |
|
SVG development InfoField | ![]() This vector image was created with Tikz and Inkscape. |
Licensing
editI, the copyright holder of this work, hereby publish it under the following license:
![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
![share alike](https://upload.wikimedia.org/wikipedia/commons/thumb/d/df/Cc-sa_white.svg/24px-Cc-sa_white.svg.png)
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.
![]() |
This media file is uncategorized.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with {{subst:Please link images|File:Raster vector tikz.svg}} ~~~~ |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:59, 20 May 2020 | ![]() | 628 × 497 (21 KB) | Joey-das-WBF (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 502.408pt |
---|---|
Height | 397.86pt |