Basic Drawing Using TikZ

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.ย. 2024
  • In this video we show you how to get started with the TikZ package. We show you how to draw simple lines and shapes and how to colour them in. We also show you how to create a grid and add some labeled axes.

ความคิดเห็น • 31

  • @AxiomTutor
    @AxiomTutor 6 ปีที่แล้ว +26

    Talk about an efficient, information-packed video. Very nicely done.

  • @afikamkhululimaliwa473
    @afikamkhululimaliwa473 4 ปีที่แล้ว +3

    Dude I have searching for weeks on how to plot using LaTeX and this is by far the most efficient and straight to the point video ever. Thank you

  • @Osvaldo1sr
    @Osvaldo1sr 3 หลายเดือนก่อน

    I was searching for this!, Watched lots of videos and this was the one I needed, huge thanks!

  • @fernandoescobar4039
    @fernandoescobar4039 8 ปีที่แล้ว +13

    Thank you very much for sharing this beautiful source of information.
    I really like it, :-))

  • @heshengxing2304
    @heshengxing2304 2 ปีที่แล้ว

    A clean, elegant and super informative video.

  • @gery49
    @gery49 6 ปีที่แล้ว +1

    Awesome intro to the TIKZ package! The thing I kinda missed from it is what unit does it work with. After a bit of looking around I found the default is cm but you can change the x and y scales independently by passing some arguments on the beginning of the TIKZ environment like so \begin{tikzpicture}[x=2cm,y=3cm]. One unit in the x direction would end up being 2cm while 1 unit in the y direction would be 3cm.

    • @Nicknamelikeyours
      @Nicknamelikeyours 5 ปีที่แล้ว

      always assume that the units are cm in latex if not said otherwise

  • @robin132009
    @robin132009 7 ปีที่แล้ว +1

    This is fantastic!

  • @DrIlyas-sq7pz
    @DrIlyas-sq7pz 4 ปีที่แล้ว

    Thank you sir.
    I get confused about coordinates when drawing multiple diagrams together. Is it like (0,0) at the center or it is on the left top or latex set it automatically.

  • @nightsfire
    @nightsfire 9 ปีที่แล้ว

    This is helpful! So, in the "clever bit of code" you use to label the axes, are you in fact drawing back over the axis as you move along to the different nodes? Also, is there a way to say something like \foreach \x in {0 through 4}?

  • @masood5931
    @masood5931 5 ปีที่แล้ว

    It is great work

  • @jeffreysmith4910
    @jeffreysmith4910 7 ปีที่แล้ว

    if i start with 0,0 it doesnt start at the top left corner

  • @DrIlyas-sq7pz
    @DrIlyas-sq7pz 5 ปีที่แล้ว

    Thanks. I am having trouble locating points in Tikz. May I have little help with that. Where is (0,0) and how we do it when we drawing something within writing. in that case where would be respective points. Thanks

    • @sydneym3251
      @sydneym3251 3 ปีที่แล้ว +2

      (0,0) is wherever you are in the document. Think of it as the location of an invisible cursor. If you have an empty document and type the letter "A", the location of the A is at point (0,0). After you typed the letter A, the point (0,0) is now located at the space right beside the letter. If you have an empty document and then draw a square, the new (0,0) is located is at the point right beside the top horizonal line of the square. If you are ever uncertain about where (0,0) is, just type a letter and wherever it shows up in the document is where the (0,0) point was before you typed it. Hope that helps.

    • @DrIlyas-sq7pz
      @DrIlyas-sq7pz 3 ปีที่แล้ว

      Ya, I got it, but it is a little too late. This question was years ago

    • @sydneym3251
      @sydneym3251 3 ปีที่แล้ว +3

      @@DrIlyas-sq7pz yeah I know. I still wanted to answer though

  • @mdrezaulkarim47
    @mdrezaulkarim47 2 ปีที่แล้ว

    wow

  • @jeffreysmith4910
    @jeffreysmith4910 7 ปีที่แล้ว

    The problem i have now is to identify the co-ordinates with reference to the paper.

  • @KZHAO-qb1zw
    @KZHAO-qb1zw 9 ปีที่แล้ว

    amazing!!! how about that:)

  • @tizlol
    @tizlol 3 ปีที่แล้ว +4

    was searching my name and found this

    • @Ghost____Rider
      @Ghost____Rider 3 ปีที่แล้ว

      Why are you called TikZ?

    • @tizlol
      @tizlol 3 ปีที่แล้ว +1

      i am born the way i am

    • @Ghost____Rider
      @Ghost____Rider 3 ปีที่แล้ว

      @@tizlol is that your real life name ?

    • @tizlol
      @tizlol 3 ปีที่แล้ว

      nop

    • @Ghost____Rider
      @Ghost____Rider 3 ปีที่แล้ว

      @@tizlol so why did you call your account TikZ? I'm just curious, what does it mean if not the LaTeX TikZ?

  • @anidakaric9162
    @anidakaric9162 3 ปีที่แล้ว

    Hi,would you mind helping me with a project

  • @jackripper9810
    @jackripper9810 4 ปีที่แล้ว

    I'd love to upvote, but you're at 666 upvotes and I won't ruin that

  • @akshaygatkalco.4383
    @akshaygatkalco.4383 4 ปีที่แล้ว

    Actually why do not use word guys... means ok its beautiful but why latex.

    • @not_ever
      @not_ever 4 ปีที่แล้ว

      When you're quite familiar with LaTex it's a lot more efficient than Word because you're just typing, no need to use a mouse. If you use certain text editors you can get code completion for LaTeX, which means you can type quite quickly.
      Documents written in LaTeX can be converted to Word documents if needed, for sharing with others or whatever, so it's not even an either or situation.
      The problem is the initial learning curve.

    • @nemkin
      @nemkin 3 ปีที่แล้ว

      @@not_ever The best thing about Latex is that it is text-based, so you can use a versioning system, like Git in combination with it, with all of its powers. You can collaboratively edit large files using multiple branches (not just a single-branch undo-redo history), split the file up into smaller files, use directory-hierarchies to organize it and separate global formatting rules from the actual text itself, so someone can work on the format, while others are writing the text simultaneously. Microsoft Word can get really cumbersome when you are editing a huge document with very specific design elements. It's kind of similar to why "Everything-as-code" is really popular nowadays. However, from experience, converting Latex to Word is not a good idea, there is no straightforward conversion and it can come out looking really bad, pictures are usually missing and equations can get messed up quickly. It's best to choose wisely before starting which one will fit your needs better.

    • @not_ever
      @not_ever 3 ปีที่แล้ว

      @@nemkinyes I keep documents in git repositories, but have yet to encounter anyone who knows LaTeX to work on a shared document, so shared work mostly takes place on OneDrive, which is a recipe for lost work and hell, if people work on the thing at the same time.
      I haven't experienced missing images using pandoc to convert into docx, just some strange formatting, which is usually trivial to fix for the occasional document. To be honest strange formatting issues happen with word regardless of whether you started the document in word or LaTeX but let me be clear when I said share a LaTeX document in word format I meant as a one off submission, not a constant back and forth.