Horizontal, Slanted, Stacked Lines in TikZTikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationVertical and horizontal lines in pgf-tikztikz stacked disks 3DTikZ/ERD: node (=Entity) label on the insideDraw several horizontal lines using tikzTikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingSlanted fill/shade in tikzThe horizontal lines are appearing slanted in a tikzpicture
How does one acquire an undead eyeball encased in a gem?
Don't the events of "Forest of the Dead" contradict the fixed point in "The Wedding of River Song"?
Four ships at the ocean with the same distance
Are all diatonic chords in the diminished scale diminished?
Is it ok for parents to kiss and romance with each other while their 2- to 8-year-old child watches?
Why is the ladder of the LM always in the dark side of the LM?
A horrible Stockfish chess engine evaluation
Is it okay to use open source code to do an interview task?
Is it okay to roll multiple attacks that all have advantage in one cluster?
Party going through airport security at separate times?
Moving millions of files to a different directory with specfic name patterns
When did "&" stop being taught alongside the alphabet?
What exactly is a "murder hobo"?
If props is missing Should I use memo?
Need a non-volatile memory IC with near unlimited read/write operations capability
Why is the Cauchy Distribution is so useful?
How do you move up one folder in Finder?
How do I explain that I don't want to maintain old projects?
What are the consequences for a developed nation to not accept any refugees?
What was this character's plan?
Bold and Colored Image Caption
Adjust the Table
Performance issue in code for reading line and testing for palindrome
Did the Ottoman empire suppress the printing press?
Horizontal, Slanted, Stacked Lines in TikZ
TikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationVertical and horizontal lines in pgf-tikztikz stacked disks 3DTikZ/ERD: node (=Entity) label on the insideDraw several horizontal lines using tikzTikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingSlanted fill/shade in tikzThe horizontal lines are appearing slanted in a tikzpicture
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am a relative beginner to LaTeX and am currently learning TikZ. For practice, I decided to recreate the tube marking guide provided for Estes model rockets in the instructions (pictured below).
I have reasonably accurately reproduced almost all of it (perhaps not very efficiently, but reproduced, nonetheless). Here is my current code and its output (note that the externally-referenced Estes logo can be found on Google Images):
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
By my estimation, the only thing that I am missing at this point is the stacked, slanted lines in the gray box at the picture's right. How can these lines be created?
I have tried grid
with yslant
, but this did not cut off exactly at the top and bottom and there were remnant vertical lines.
Open to all suggestions, thanks!
tikz-pgf
New contributor
add a comment |
I am a relative beginner to LaTeX and am currently learning TikZ. For practice, I decided to recreate the tube marking guide provided for Estes model rockets in the instructions (pictured below).
I have reasonably accurately reproduced almost all of it (perhaps not very efficiently, but reproduced, nonetheless). Here is my current code and its output (note that the externally-referenced Estes logo can be found on Google Images):
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
By my estimation, the only thing that I am missing at this point is the stacked, slanted lines in the gray box at the picture's right. How can these lines be created?
I have tried grid
with yslant
, but this did not cut off exactly at the top and bottom and there were remnant vertical lines.
Open to all suggestions, thanks!
tikz-pgf
New contributor
add a comment |
I am a relative beginner to LaTeX and am currently learning TikZ. For practice, I decided to recreate the tube marking guide provided for Estes model rockets in the instructions (pictured below).
I have reasonably accurately reproduced almost all of it (perhaps not very efficiently, but reproduced, nonetheless). Here is my current code and its output (note that the externally-referenced Estes logo can be found on Google Images):
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
By my estimation, the only thing that I am missing at this point is the stacked, slanted lines in the gray box at the picture's right. How can these lines be created?
I have tried grid
with yslant
, but this did not cut off exactly at the top and bottom and there were remnant vertical lines.
Open to all suggestions, thanks!
tikz-pgf
New contributor
I am a relative beginner to LaTeX and am currently learning TikZ. For practice, I decided to recreate the tube marking guide provided for Estes model rockets in the instructions (pictured below).
I have reasonably accurately reproduced almost all of it (perhaps not very efficiently, but reproduced, nonetheless). Here is my current code and its output (note that the externally-referenced Estes logo can be found on Google Images):
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
By my estimation, the only thing that I am missing at this point is the stacked, slanted lines in the gray box at the picture's right. How can these lines be created?
I have tried grid
with yslant
, but this did not cut off exactly at the top and bottom and there were remnant vertical lines.
Open to all suggestions, thanks!
tikz-pgf
tikz-pgf
New contributor
New contributor
New contributor
asked 9 hours ago
Shady PuckShady Puck
1337 bronze badges
1337 bronze badges
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I focus on the lines here. They can be achieved with a path picture
. For larger pictures you may need to increase 35
.
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick,path picture=
draw foreach X in -2,-1,...,35
([yshift=X*4pt]path picture bounding box.south east)
-- ([yshift=X*4pt+3pt]path picture bounding box.south west);
]
(5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
%node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
add a comment |
You can achieve the following result using the patterns
tikzlibrary
and the pattern=north west lines
option:
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
usetikzlibrarypatterns
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, thick, pattern=north west lines] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
If you want to keep the gray background and want to draw the pattern on top of it, use filldraw[color=black, preaction=fill, gray!30,, thick, pattern=north west lines]
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Shady Puck is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f499037%2fhorizontal-slanted-stacked-lines-in-tikz%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I focus on the lines here. They can be achieved with a path picture
. For larger pictures you may need to increase 35
.
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick,path picture=
draw foreach X in -2,-1,...,35
([yshift=X*4pt]path picture bounding box.south east)
-- ([yshift=X*4pt+3pt]path picture bounding box.south west);
]
(5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
%node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
add a comment |
I focus on the lines here. They can be achieved with a path picture
. For larger pictures you may need to increase 35
.
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick,path picture=
draw foreach X in -2,-1,...,35
([yshift=X*4pt]path picture bounding box.south east)
-- ([yshift=X*4pt+3pt]path picture bounding box.south west);
]
(5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
%node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
add a comment |
I focus on the lines here. They can be achieved with a path picture
. For larger pictures you may need to increase 35
.
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick,path picture=
draw foreach X in -2,-1,...,35
([yshift=X*4pt]path picture bounding box.south east)
-- ([yshift=X*4pt+3pt]path picture bounding box.south west);
]
(5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
%node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
I focus on the lines here. They can be achieved with a path picture
. For larger pictures you may need to increase 35
.
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, fill=gray!30, thick,path picture=
draw foreach X in -2,-1,...,35
([yshift=X*4pt]path picture bounding box.south east)
-- ([yshift=X*4pt+3pt]path picture bounding box.south west);
]
(5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
%node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
answered 8 hours ago
marmotmarmot
143k6 gold badges187 silver badges345 bronze badges
143k6 gold badges187 silver badges345 bronze badges
add a comment |
add a comment |
You can achieve the following result using the patterns
tikzlibrary
and the pattern=north west lines
option:
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
usetikzlibrarypatterns
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, thick, pattern=north west lines] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
If you want to keep the gray background and want to draw the pattern on top of it, use filldraw[color=black, preaction=fill, gray!30,, thick, pattern=north west lines]
add a comment |
You can achieve the following result using the patterns
tikzlibrary
and the pattern=north west lines
option:
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
usetikzlibrarypatterns
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, thick, pattern=north west lines] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
If you want to keep the gray background and want to draw the pattern on top of it, use filldraw[color=black, preaction=fill, gray!30,, thick, pattern=north west lines]
add a comment |
You can achieve the following result using the patterns
tikzlibrary
and the pattern=north west lines
option:
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
usetikzlibrarypatterns
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, thick, pattern=north west lines] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
If you want to keep the gray background and want to draw the pattern on top of it, use filldraw[color=black, preaction=fill, gray!30,, thick, pattern=north west lines]
You can achieve the following result using the patterns
tikzlibrary
and the pattern=north west lines
option:
documentclassarticle
usepackagehelvet
usepackage[letterpaper, margin=1in]geometry
usepackagetikz
usetikzlibrarypatterns
renewcommandfamilydefaultsfdefault
begindocument
beginfigure[h!]
centering
begintikzpicture
draw[black, very thick] (0,0) rectangle (5.0625in,1.875in);
draw[black, very thick, <->] (0.625in,0) -- (0.625in,1.875in);
draw[black, very thick, <->] (1.875in,0) -- (1.875in,1.875in);
draw[black, very thick, <->] (3.1875in,0) -- (3.1875in,1.875in);
draw[black, very thick, <->] (4.45in,0) -- (4.45in,1.875in);
draw[black, very thick] (0,0.5in) -- (0.25in,0.5in);
draw[black, very thick] (0,1.375in) -- (0.25in,1.375in);
draw[black, very thick] (4.8125in,0.5in) -- (5.0625in,0.5in);
draw[black, very thick] (4.8125in,1.375in) -- (5.0625in,1.375in);
filldraw[color=black, thick, pattern=north west lines] (5.0625in,0) rectangle (5.375in,1.875in);
filldraw[color=black, fill=white, very thick] (1in,0.25in) -- (1in,1.625in) -- (4.5in,1.4375in) -- (4.5in,0.4375in) -- cycle;
draw[black, very thick, loosely dashed] (2.5in,0.33in) -- (2.5in,1.545in);
draw[black, very thick, loosely dashed] (3.6875in,0.394in) -- (3.6875in,1.481in);
node[rotate=90] (Estes) at (1.23in,0.9375in) includegraphics[width=0.17textwidth]Images/estes-logo.png;
node[rotate=90] at (0.1in,0.9375in) footnotesize textbfLL;
node[rotate=90] at (0.725in,0.2in) footnotesize textbfFL;
node[rotate=90] at (1.975in,0.2in) footnotesize textbfFL;
node[rotate=90] at (3.2875in,0.2in) footnotesize textbfFL;
node[rotate=90] at (4.55in,0.2in) footnotesize textbfFL;
node[rotate=90] at (2.1in,0.9375in) huge textbf3;
node[rotate=90] at (3in,0.9375in) huge textbf2;
node[rotate=90] at (4in,0.9375in) huge textbf1;
endtikzpicture
captionBig Bertha tube marking guide.
labelfig:bigbertha
endfigure
enddocument
If you want to keep the gray background and want to draw the pattern on top of it, use filldraw[color=black, preaction=fill, gray!30,, thick, pattern=north west lines]
edited 8 hours ago
Bernard
183k7 gold badges83 silver badges216 bronze badges
183k7 gold badges83 silver badges216 bronze badges
answered 9 hours ago
leandriisleandriis
15.8k1 gold badge11 silver badges36 bronze badges
15.8k1 gold badge11 silver badges36 bronze badges
add a comment |
add a comment |
Shady Puck is a new contributor. Be nice, and check out our Code of Conduct.
Shady Puck is a new contributor. Be nice, and check out our Code of Conduct.
Shady Puck is a new contributor. Be nice, and check out our Code of Conduct.
Shady Puck is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f499037%2fhorizontal-slanted-stacked-lines-in-tikz%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown