Hatch directionHatch a rectangle in TikZHow to scale hatch in tikz figure in LaTeX?custom hatching pattern : arbitrary direction of hatchingHow to use hatch pattern in baposter header box?how to change direction of arrow tikzHow to hatch pie charts in Tikz pgf?changing the text direction in TikZ diagram

Can a Warlock become Neutral Good?

is it possible to make sharp wind that can cut stuff from afar?

Did Shadowfax go to Valinor?

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

Do VLANs within a subnet need to have their own subnet for router on a stick?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

strToHex ( string to its hex representation as string)

Can I make popcorn with any corn?

How to say job offer in Mandarin/Cantonese?

same font throughout bibliography

Why do falling prices hurt debtors?

The use of multiple foreign keys on same column in SQL Server

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

How do I create uniquely male characters?

Why not use SQL instead of GraphQL?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

What defenses are there against being summoned by the Gate spell?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

How do you know if an analog film camera is still working?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

Why was the small council so happy for Tyrion to become the Master of Coin?

Writing rule which states that two causes for the same superpower is bad writing

How to test if a transaction is standard without spending real money?



Hatch direction


Hatch a rectangle in TikZHow to scale hatch in tikz figure in LaTeX?custom hatching pattern : arbitrary direction of hatchingHow to use hatch pattern in baposter header box?how to change direction of arrow tikzHow to hatch pie charts in Tikz pgf?changing the text direction in TikZ diagram













0















I want to modify the hatch lines direction marked in red of the next diagram:



enter image description here



It was obtained with the next code:



documentclass[letterpaper,11pt]report
usepackage[utf8]inputenc
usepackageamsmath
usepackagefloat
usepackage[none]hyphenat
usepackagearray
usepackagegraphicx
usepackagepgfplots
pgfplotssetwidth=15cm,compat=1.9
usepgfplotslibraryfillbetween
usetikzlibrarypatterns,arrows,fit,matrix,arrows.meta,calc,decorations.pathmorphing,decorations.markings,decorations.pathreplacing

usepackagetikz
usepackagebigstrut
usepackagefloat
usepackagebbding
usepackagediagbox
usepackagescalerel
letsavestarstar
renewcommandstarscalerel*bigstarsavestar
allowdisplaybreaks
usepackage[resetlabels,labeled]multibib
usepackageurl
usepackagesubcaption
usepackagecite
usepackagemultirow
usepackagetabularx
usepackagebooktabs
usepackageltablex
usepackagemathrsfs
usepackagersfso
usepackagebooktabs
usepackagemathtools



% defining the new dimensions and parameters
newlengthhatchspread
newlengthhatchthickness
newlengthhatchshift
newcommandhatchcolor
% declaring the keys in tikz
tikzsethatchspread/.code=setlengthhatchspread#1,
hatchthickness/.code=setlengthhatchthickness#1,
hatchshift/.code=setlengthhatchshift#1,% must be >= 0
hatchcolor/.code=renewcommandhatchcolor#1
% setting the default values
tikzsethatchspread=5pt,
hatchthickness=0.4pt,
hatchshift=1.5pt,% must be >= 0
hatchcolor=black
% declaring the pattern
pgfdeclarepatternformonly[hatchspread,hatchthickness,hatchshift,hatchcolor]% variables
custom north west lines% name
pgfqpointdimexpr-2hatchthicknessdimexpr-2hatchthickness% lower left corner
pgfqpointdimexprhatchspread+2hatchthicknessdimexprhatchspread+2hatchthickness% upper right corner
pgfqpointdimexprhatchspreaddimexprhatchspread% tile size
% shape description
pgfsetlinewidthhatchthickness
pgfpathmovetopgfqpoint0ptdimexprhatchspread+hatchshift
pgfpathlinetopgfqpointdimexprhatchspread+0.15pt+hatchshift-0.15pt
ifdim hatchshift > 0pt
pgfpathmovetopgfqpoint0pthatchshift
pgfpathlinetopgfqpointdimexpr0.15pt+hatchshift-0.15pt
fi
pgfsetstrokecolorhatchcolor
% pgfsetdash1pt1pt0pt% dashing cannot work correctly in all situation this way
pgfusepathstroke








begindocument


beginfigure[ht]
centering
begintikzpicture
draw (0,0) ellipse (5.375cm and 1.5cm);
draw (-5.375,-0.5) arc (180:360:5.375 and 1.5);
draw (-5.375,0) -- ++(0,-0.5);
draw (5.375,0) -- ++(0,-0.5);

draw (0,0) ellipse (2.685cm and 0.75cm);
draw (2.6,-0.2) arc (19:165:2.7 and 0.75);

draw (1.5,0) -- (2.7,0);
draw (-2.7,0) -- (-1.5,0);
draw (0,0.75) -- (0,0.2);
draw (0,-0.75) -- (0,-0.2);

draw (1.7,0.6) -- (0.7,0.2);
draw (1.7,-0.6) -- (0.7,-0.2);
draw (-1.7,0.6) -- (-0.7,0.2);
draw (-1.7,-0.6) -- (-0.7,-0.2);

draw (0.8,0.7) -- (0.35,0.2);
draw (0.8,-0.7) -- (0.35,-0.2);
draw (-0.8,0.7) -- (-0.35,0.2);
draw (-0.8,-0.7) -- (-0.35,-0.2);


draw (2.4,0.3) -- (1.2,0.1);
draw (2.4,-0.3) -- (1.2,-0.1);
draw (-2.4,0.3) -- (-1.2,0.1);
draw (-2.4,-0.3) -- (-1.2,-0.1);


path (0,-7) -- (5,-7) node[inner sep=2pt,circle,fill,pos=0] (x1) ;


draw[-Latex[length=2mm]] (0,-7) -- (6,-7) node[pos=1.1,fill=white,circle]$r$;

draw[-Latex[length=2mm]] (0,-7) -- (0,-13) node[pos=1.1,circle]$z(r,theta)$;

draw (2.685,-6.7) -- (5.375,-6.7) -- (5.375,-7.3) -- (2.685,-7.3) -- (2.685,-6.7);

draw (-2.685,-6.7) -- (-5.375,-6.7) -- (-5.375,-7.3) -- (-2.685,-7.3) -- (-2.685,-6.7);

draw (2.685,-5.3) -- (2.685,-8.7); % línea para ashurado
draw (-2.685,-5.3) -- (-2.685,-8.7);

draw (2.685,-9.3) -- (2.685,-10.7);%Linea auxiliar 1

draw (-5.375,-10.3) -- (-5.375,-11.3); % Linea auxiliar 2

draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.1) -- (2.685,-10.1) node[above,pos=0.5,fill=white,circle]$b$;% Cota 1

draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.8) -- (-5.375,-10.8) node[above,pos=0.5,fill=white,circle]$a$;% Cota 2


draw[dashed] (-2.685,-2.3) -- (-2.685,-4.7);
draw[dashed] (2.685,-2.3) -- (2.685,-4.7);

draw[dashed] (-5.375,-1.5) -- (-5.375,-5.9);
draw[dashed] (5.375,-1.5) -- (5.375,-5.9);

draw[pattern=custom north west lines, hatchspread=24pt, hatchcolor=black, draw=none] (2.1,-8.7) rectangle (2.685,-5.3);

draw[pattern=custom north west lines,hatchspread=25pt,hatchcolor=black,draw=none] (-2.1,-8.7) rectangle (-2.685,-5.3);

draw[dashed] (-5.375,-8.1) -- (-5.375,-9.6);

endtikzpicture

endfigure

enddocument


I want to change the hatch lines to something like "custom east lines", that is this direction . Any help is appreciated.










share|improve this question


























    0















    I want to modify the hatch lines direction marked in red of the next diagram:



    enter image description here



    It was obtained with the next code:



    documentclass[letterpaper,11pt]report
    usepackage[utf8]inputenc
    usepackageamsmath
    usepackagefloat
    usepackage[none]hyphenat
    usepackagearray
    usepackagegraphicx
    usepackagepgfplots
    pgfplotssetwidth=15cm,compat=1.9
    usepgfplotslibraryfillbetween
    usetikzlibrarypatterns,arrows,fit,matrix,arrows.meta,calc,decorations.pathmorphing,decorations.markings,decorations.pathreplacing

    usepackagetikz
    usepackagebigstrut
    usepackagefloat
    usepackagebbding
    usepackagediagbox
    usepackagescalerel
    letsavestarstar
    renewcommandstarscalerel*bigstarsavestar
    allowdisplaybreaks
    usepackage[resetlabels,labeled]multibib
    usepackageurl
    usepackagesubcaption
    usepackagecite
    usepackagemultirow
    usepackagetabularx
    usepackagebooktabs
    usepackageltablex
    usepackagemathrsfs
    usepackagersfso
    usepackagebooktabs
    usepackagemathtools



    % defining the new dimensions and parameters
    newlengthhatchspread
    newlengthhatchthickness
    newlengthhatchshift
    newcommandhatchcolor
    % declaring the keys in tikz
    tikzsethatchspread/.code=setlengthhatchspread#1,
    hatchthickness/.code=setlengthhatchthickness#1,
    hatchshift/.code=setlengthhatchshift#1,% must be >= 0
    hatchcolor/.code=renewcommandhatchcolor#1
    % setting the default values
    tikzsethatchspread=5pt,
    hatchthickness=0.4pt,
    hatchshift=1.5pt,% must be >= 0
    hatchcolor=black
    % declaring the pattern
    pgfdeclarepatternformonly[hatchspread,hatchthickness,hatchshift,hatchcolor]% variables
    custom north west lines% name
    pgfqpointdimexpr-2hatchthicknessdimexpr-2hatchthickness% lower left corner
    pgfqpointdimexprhatchspread+2hatchthicknessdimexprhatchspread+2hatchthickness% upper right corner
    pgfqpointdimexprhatchspreaddimexprhatchspread% tile size
    % shape description
    pgfsetlinewidthhatchthickness
    pgfpathmovetopgfqpoint0ptdimexprhatchspread+hatchshift
    pgfpathlinetopgfqpointdimexprhatchspread+0.15pt+hatchshift-0.15pt
    ifdim hatchshift > 0pt
    pgfpathmovetopgfqpoint0pthatchshift
    pgfpathlinetopgfqpointdimexpr0.15pt+hatchshift-0.15pt
    fi
    pgfsetstrokecolorhatchcolor
    % pgfsetdash1pt1pt0pt% dashing cannot work correctly in all situation this way
    pgfusepathstroke








    begindocument


    beginfigure[ht]
    centering
    begintikzpicture
    draw (0,0) ellipse (5.375cm and 1.5cm);
    draw (-5.375,-0.5) arc (180:360:5.375 and 1.5);
    draw (-5.375,0) -- ++(0,-0.5);
    draw (5.375,0) -- ++(0,-0.5);

    draw (0,0) ellipse (2.685cm and 0.75cm);
    draw (2.6,-0.2) arc (19:165:2.7 and 0.75);

    draw (1.5,0) -- (2.7,0);
    draw (-2.7,0) -- (-1.5,0);
    draw (0,0.75) -- (0,0.2);
    draw (0,-0.75) -- (0,-0.2);

    draw (1.7,0.6) -- (0.7,0.2);
    draw (1.7,-0.6) -- (0.7,-0.2);
    draw (-1.7,0.6) -- (-0.7,0.2);
    draw (-1.7,-0.6) -- (-0.7,-0.2);

    draw (0.8,0.7) -- (0.35,0.2);
    draw (0.8,-0.7) -- (0.35,-0.2);
    draw (-0.8,0.7) -- (-0.35,0.2);
    draw (-0.8,-0.7) -- (-0.35,-0.2);


    draw (2.4,0.3) -- (1.2,0.1);
    draw (2.4,-0.3) -- (1.2,-0.1);
    draw (-2.4,0.3) -- (-1.2,0.1);
    draw (-2.4,-0.3) -- (-1.2,-0.1);


    path (0,-7) -- (5,-7) node[inner sep=2pt,circle,fill,pos=0] (x1) ;


    draw[-Latex[length=2mm]] (0,-7) -- (6,-7) node[pos=1.1,fill=white,circle]$r$;

    draw[-Latex[length=2mm]] (0,-7) -- (0,-13) node[pos=1.1,circle]$z(r,theta)$;

    draw (2.685,-6.7) -- (5.375,-6.7) -- (5.375,-7.3) -- (2.685,-7.3) -- (2.685,-6.7);

    draw (-2.685,-6.7) -- (-5.375,-6.7) -- (-5.375,-7.3) -- (-2.685,-7.3) -- (-2.685,-6.7);

    draw (2.685,-5.3) -- (2.685,-8.7); % línea para ashurado
    draw (-2.685,-5.3) -- (-2.685,-8.7);

    draw (2.685,-9.3) -- (2.685,-10.7);%Linea auxiliar 1

    draw (-5.375,-10.3) -- (-5.375,-11.3); % Linea auxiliar 2

    draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.1) -- (2.685,-10.1) node[above,pos=0.5,fill=white,circle]$b$;% Cota 1

    draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.8) -- (-5.375,-10.8) node[above,pos=0.5,fill=white,circle]$a$;% Cota 2


    draw[dashed] (-2.685,-2.3) -- (-2.685,-4.7);
    draw[dashed] (2.685,-2.3) -- (2.685,-4.7);

    draw[dashed] (-5.375,-1.5) -- (-5.375,-5.9);
    draw[dashed] (5.375,-1.5) -- (5.375,-5.9);

    draw[pattern=custom north west lines, hatchspread=24pt, hatchcolor=black, draw=none] (2.1,-8.7) rectangle (2.685,-5.3);

    draw[pattern=custom north west lines,hatchspread=25pt,hatchcolor=black,draw=none] (-2.1,-8.7) rectangle (-2.685,-5.3);

    draw[dashed] (-5.375,-8.1) -- (-5.375,-9.6);

    endtikzpicture

    endfigure

    enddocument


    I want to change the hatch lines to something like "custom east lines", that is this direction . Any help is appreciated.










    share|improve this question
























      0












      0








      0








      I want to modify the hatch lines direction marked in red of the next diagram:



      enter image description here



      It was obtained with the next code:



      documentclass[letterpaper,11pt]report
      usepackage[utf8]inputenc
      usepackageamsmath
      usepackagefloat
      usepackage[none]hyphenat
      usepackagearray
      usepackagegraphicx
      usepackagepgfplots
      pgfplotssetwidth=15cm,compat=1.9
      usepgfplotslibraryfillbetween
      usetikzlibrarypatterns,arrows,fit,matrix,arrows.meta,calc,decorations.pathmorphing,decorations.markings,decorations.pathreplacing

      usepackagetikz
      usepackagebigstrut
      usepackagefloat
      usepackagebbding
      usepackagediagbox
      usepackagescalerel
      letsavestarstar
      renewcommandstarscalerel*bigstarsavestar
      allowdisplaybreaks
      usepackage[resetlabels,labeled]multibib
      usepackageurl
      usepackagesubcaption
      usepackagecite
      usepackagemultirow
      usepackagetabularx
      usepackagebooktabs
      usepackageltablex
      usepackagemathrsfs
      usepackagersfso
      usepackagebooktabs
      usepackagemathtools



      % defining the new dimensions and parameters
      newlengthhatchspread
      newlengthhatchthickness
      newlengthhatchshift
      newcommandhatchcolor
      % declaring the keys in tikz
      tikzsethatchspread/.code=setlengthhatchspread#1,
      hatchthickness/.code=setlengthhatchthickness#1,
      hatchshift/.code=setlengthhatchshift#1,% must be >= 0
      hatchcolor/.code=renewcommandhatchcolor#1
      % setting the default values
      tikzsethatchspread=5pt,
      hatchthickness=0.4pt,
      hatchshift=1.5pt,% must be >= 0
      hatchcolor=black
      % declaring the pattern
      pgfdeclarepatternformonly[hatchspread,hatchthickness,hatchshift,hatchcolor]% variables
      custom north west lines% name
      pgfqpointdimexpr-2hatchthicknessdimexpr-2hatchthickness% lower left corner
      pgfqpointdimexprhatchspread+2hatchthicknessdimexprhatchspread+2hatchthickness% upper right corner
      pgfqpointdimexprhatchspreaddimexprhatchspread% tile size
      % shape description
      pgfsetlinewidthhatchthickness
      pgfpathmovetopgfqpoint0ptdimexprhatchspread+hatchshift
      pgfpathlinetopgfqpointdimexprhatchspread+0.15pt+hatchshift-0.15pt
      ifdim hatchshift > 0pt
      pgfpathmovetopgfqpoint0pthatchshift
      pgfpathlinetopgfqpointdimexpr0.15pt+hatchshift-0.15pt
      fi
      pgfsetstrokecolorhatchcolor
      % pgfsetdash1pt1pt0pt% dashing cannot work correctly in all situation this way
      pgfusepathstroke








      begindocument


      beginfigure[ht]
      centering
      begintikzpicture
      draw (0,0) ellipse (5.375cm and 1.5cm);
      draw (-5.375,-0.5) arc (180:360:5.375 and 1.5);
      draw (-5.375,0) -- ++(0,-0.5);
      draw (5.375,0) -- ++(0,-0.5);

      draw (0,0) ellipse (2.685cm and 0.75cm);
      draw (2.6,-0.2) arc (19:165:2.7 and 0.75);

      draw (1.5,0) -- (2.7,0);
      draw (-2.7,0) -- (-1.5,0);
      draw (0,0.75) -- (0,0.2);
      draw (0,-0.75) -- (0,-0.2);

      draw (1.7,0.6) -- (0.7,0.2);
      draw (1.7,-0.6) -- (0.7,-0.2);
      draw (-1.7,0.6) -- (-0.7,0.2);
      draw (-1.7,-0.6) -- (-0.7,-0.2);

      draw (0.8,0.7) -- (0.35,0.2);
      draw (0.8,-0.7) -- (0.35,-0.2);
      draw (-0.8,0.7) -- (-0.35,0.2);
      draw (-0.8,-0.7) -- (-0.35,-0.2);


      draw (2.4,0.3) -- (1.2,0.1);
      draw (2.4,-0.3) -- (1.2,-0.1);
      draw (-2.4,0.3) -- (-1.2,0.1);
      draw (-2.4,-0.3) -- (-1.2,-0.1);


      path (0,-7) -- (5,-7) node[inner sep=2pt,circle,fill,pos=0] (x1) ;


      draw[-Latex[length=2mm]] (0,-7) -- (6,-7) node[pos=1.1,fill=white,circle]$r$;

      draw[-Latex[length=2mm]] (0,-7) -- (0,-13) node[pos=1.1,circle]$z(r,theta)$;

      draw (2.685,-6.7) -- (5.375,-6.7) -- (5.375,-7.3) -- (2.685,-7.3) -- (2.685,-6.7);

      draw (-2.685,-6.7) -- (-5.375,-6.7) -- (-5.375,-7.3) -- (-2.685,-7.3) -- (-2.685,-6.7);

      draw (2.685,-5.3) -- (2.685,-8.7); % línea para ashurado
      draw (-2.685,-5.3) -- (-2.685,-8.7);

      draw (2.685,-9.3) -- (2.685,-10.7);%Linea auxiliar 1

      draw (-5.375,-10.3) -- (-5.375,-11.3); % Linea auxiliar 2

      draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.1) -- (2.685,-10.1) node[above,pos=0.5,fill=white,circle]$b$;% Cota 1

      draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.8) -- (-5.375,-10.8) node[above,pos=0.5,fill=white,circle]$a$;% Cota 2


      draw[dashed] (-2.685,-2.3) -- (-2.685,-4.7);
      draw[dashed] (2.685,-2.3) -- (2.685,-4.7);

      draw[dashed] (-5.375,-1.5) -- (-5.375,-5.9);
      draw[dashed] (5.375,-1.5) -- (5.375,-5.9);

      draw[pattern=custom north west lines, hatchspread=24pt, hatchcolor=black, draw=none] (2.1,-8.7) rectangle (2.685,-5.3);

      draw[pattern=custom north west lines,hatchspread=25pt,hatchcolor=black,draw=none] (-2.1,-8.7) rectangle (-2.685,-5.3);

      draw[dashed] (-5.375,-8.1) -- (-5.375,-9.6);

      endtikzpicture

      endfigure

      enddocument


      I want to change the hatch lines to something like "custom east lines", that is this direction . Any help is appreciated.










      share|improve this question














      I want to modify the hatch lines direction marked in red of the next diagram:



      enter image description here



      It was obtained with the next code:



      documentclass[letterpaper,11pt]report
      usepackage[utf8]inputenc
      usepackageamsmath
      usepackagefloat
      usepackage[none]hyphenat
      usepackagearray
      usepackagegraphicx
      usepackagepgfplots
      pgfplotssetwidth=15cm,compat=1.9
      usepgfplotslibraryfillbetween
      usetikzlibrarypatterns,arrows,fit,matrix,arrows.meta,calc,decorations.pathmorphing,decorations.markings,decorations.pathreplacing

      usepackagetikz
      usepackagebigstrut
      usepackagefloat
      usepackagebbding
      usepackagediagbox
      usepackagescalerel
      letsavestarstar
      renewcommandstarscalerel*bigstarsavestar
      allowdisplaybreaks
      usepackage[resetlabels,labeled]multibib
      usepackageurl
      usepackagesubcaption
      usepackagecite
      usepackagemultirow
      usepackagetabularx
      usepackagebooktabs
      usepackageltablex
      usepackagemathrsfs
      usepackagersfso
      usepackagebooktabs
      usepackagemathtools



      % defining the new dimensions and parameters
      newlengthhatchspread
      newlengthhatchthickness
      newlengthhatchshift
      newcommandhatchcolor
      % declaring the keys in tikz
      tikzsethatchspread/.code=setlengthhatchspread#1,
      hatchthickness/.code=setlengthhatchthickness#1,
      hatchshift/.code=setlengthhatchshift#1,% must be >= 0
      hatchcolor/.code=renewcommandhatchcolor#1
      % setting the default values
      tikzsethatchspread=5pt,
      hatchthickness=0.4pt,
      hatchshift=1.5pt,% must be >= 0
      hatchcolor=black
      % declaring the pattern
      pgfdeclarepatternformonly[hatchspread,hatchthickness,hatchshift,hatchcolor]% variables
      custom north west lines% name
      pgfqpointdimexpr-2hatchthicknessdimexpr-2hatchthickness% lower left corner
      pgfqpointdimexprhatchspread+2hatchthicknessdimexprhatchspread+2hatchthickness% upper right corner
      pgfqpointdimexprhatchspreaddimexprhatchspread% tile size
      % shape description
      pgfsetlinewidthhatchthickness
      pgfpathmovetopgfqpoint0ptdimexprhatchspread+hatchshift
      pgfpathlinetopgfqpointdimexprhatchspread+0.15pt+hatchshift-0.15pt
      ifdim hatchshift > 0pt
      pgfpathmovetopgfqpoint0pthatchshift
      pgfpathlinetopgfqpointdimexpr0.15pt+hatchshift-0.15pt
      fi
      pgfsetstrokecolorhatchcolor
      % pgfsetdash1pt1pt0pt% dashing cannot work correctly in all situation this way
      pgfusepathstroke








      begindocument


      beginfigure[ht]
      centering
      begintikzpicture
      draw (0,0) ellipse (5.375cm and 1.5cm);
      draw (-5.375,-0.5) arc (180:360:5.375 and 1.5);
      draw (-5.375,0) -- ++(0,-0.5);
      draw (5.375,0) -- ++(0,-0.5);

      draw (0,0) ellipse (2.685cm and 0.75cm);
      draw (2.6,-0.2) arc (19:165:2.7 and 0.75);

      draw (1.5,0) -- (2.7,0);
      draw (-2.7,0) -- (-1.5,0);
      draw (0,0.75) -- (0,0.2);
      draw (0,-0.75) -- (0,-0.2);

      draw (1.7,0.6) -- (0.7,0.2);
      draw (1.7,-0.6) -- (0.7,-0.2);
      draw (-1.7,0.6) -- (-0.7,0.2);
      draw (-1.7,-0.6) -- (-0.7,-0.2);

      draw (0.8,0.7) -- (0.35,0.2);
      draw (0.8,-0.7) -- (0.35,-0.2);
      draw (-0.8,0.7) -- (-0.35,0.2);
      draw (-0.8,-0.7) -- (-0.35,-0.2);


      draw (2.4,0.3) -- (1.2,0.1);
      draw (2.4,-0.3) -- (1.2,-0.1);
      draw (-2.4,0.3) -- (-1.2,0.1);
      draw (-2.4,-0.3) -- (-1.2,-0.1);


      path (0,-7) -- (5,-7) node[inner sep=2pt,circle,fill,pos=0] (x1) ;


      draw[-Latex[length=2mm]] (0,-7) -- (6,-7) node[pos=1.1,fill=white,circle]$r$;

      draw[-Latex[length=2mm]] (0,-7) -- (0,-13) node[pos=1.1,circle]$z(r,theta)$;

      draw (2.685,-6.7) -- (5.375,-6.7) -- (5.375,-7.3) -- (2.685,-7.3) -- (2.685,-6.7);

      draw (-2.685,-6.7) -- (-5.375,-6.7) -- (-5.375,-7.3) -- (-2.685,-7.3) -- (-2.685,-6.7);

      draw (2.685,-5.3) -- (2.685,-8.7); % línea para ashurado
      draw (-2.685,-5.3) -- (-2.685,-8.7);

      draw (2.685,-9.3) -- (2.685,-10.7);%Linea auxiliar 1

      draw (-5.375,-10.3) -- (-5.375,-11.3); % Linea auxiliar 2

      draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.1) -- (2.685,-10.1) node[above,pos=0.5,fill=white,circle]$b$;% Cota 1

      draw[Latex[length=2mm]-Latex[length=2mm]] (0,-10.8) -- (-5.375,-10.8) node[above,pos=0.5,fill=white,circle]$a$;% Cota 2


      draw[dashed] (-2.685,-2.3) -- (-2.685,-4.7);
      draw[dashed] (2.685,-2.3) -- (2.685,-4.7);

      draw[dashed] (-5.375,-1.5) -- (-5.375,-5.9);
      draw[dashed] (5.375,-1.5) -- (5.375,-5.9);

      draw[pattern=custom north west lines, hatchspread=24pt, hatchcolor=black, draw=none] (2.1,-8.7) rectangle (2.685,-5.3);

      draw[pattern=custom north west lines,hatchspread=25pt,hatchcolor=black,draw=none] (-2.1,-8.7) rectangle (-2.685,-5.3);

      draw[dashed] (-5.375,-8.1) -- (-5.375,-9.6);

      endtikzpicture

      endfigure

      enddocument


      I want to change the hatch lines to something like "custom east lines", that is this direction . Any help is appreciated.







      tikz-styles pattern






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 11 mins ago









      AlfredoAlfredo

      986




      986




















          0






          active

          oldest

          votes












          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483659%2fhatch-direction%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483659%2fhatch-direction%23new-answer', 'question_page');

          );

          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







          Popular posts from this blog

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          Tender dossier with centered articlesHow can I get legal style indentation on section, subsection, subsubsec.. using titlesec?missing item with addtocontents before sectionsubsubsubsection, paragraph and subparagraph count not reset when starting a new section, subsection, etcTikZ won't support HSB color model hsb in article document classAdding a vskip1em before each section - won't compile with itHow to implement a customized hierarchical table of content using titletoc with changing number formatsSection title formatGrouped entries in index don't spill over to next columnParagraph spacing in documentclassarticle with Figure and ListingsRagged Right Index Entries

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"