How to make beautiful math graphics using Tikz & LaTeX

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 109

  • @isaackay5887
    @isaackay5887 2 роки тому +76

    Ever since I learned how to use LaTeX, I've haven't touched MS Word - nothing can make me go back

    • @hegelscat9423
      @hegelscat9423 2 роки тому +6

      Had a classmate who would refuse to use Latex, instead used word, no amount of convincing could get her to ditch word.

    • @nikosnikolakis6991
      @nikosnikolakis6991 Рік тому +7

      word is far more easy to use to get something out

    • @TranquilSeaOfMath
      @TranquilSeaOfMath Рік тому +3

      I like LaTeX better than MS Word

    • @dafphtthedislikeupdater7836
      @dafphtthedislikeupdater7836 Рік тому

      ikr

    • @T12J7
      @T12J7 8 місяців тому

      I like Word due to the collapsible headers feature.

  • @johnchessant3012
    @johnchessant3012 2 роки тому +59

    For the longest time I thought TikZ was too complicated and resorted to making my graphs in Geogebra and attaching them to the latex file as pictures. Finally buckled down to learn it to draw binary trees for a cs class I was taking and later I also learned TikZ-cd to draw commutative diagrams for my number theory course. Definitely a cool package!

    • @diribigal
      @diribigal 2 роки тому +12

      The right Desktop version of Geogebra can export to TikZ code, so if you like Geogebra, you can still produce TikZ

    • @JimSmithInChiapas
      @JimSmithInChiapas 2 роки тому +7

      @@diribigal Thanks for the info -- I didn't know that. I still use GeoGebra Classic 5, and I now see that it can indeed export drawings as TikZ code. (Under *File* --> *Export* .)

  • @zealous919
    @zealous919 2 роки тому +130

    I know you get a lot of these comments, I’m not trying to be annoying. But if you have the time and patience, please keep uploading (I understand if you can’t). You’re one of my favorite channels on this entire site. I love being able to sit back after a long day (basically everyday) and just watch math videos, especially from you since you’re a great presenter. Thanks

    • @DrTrefor
      @DrTrefor  2 роки тому +35

      That is so nice of you!

  • @professorjogatina
    @professorjogatina Місяць тому +2

    Very good Trefor ! I was trying to use inkscape, but this way it's easier.

  • @SEEANDPEA
    @SEEANDPEA 21 день тому

    Man, your tutorials are always very easy to follow and entertaining. You're the best!

  • @LordChancletus
    @LordChancletus 2 роки тому +6

    I'm so hyped for this series! Looking forward in learning Tikz and pgfplots in such a chill and well explained manner. Can you maybe throw in some circuitikz later on? 👀

  • @gudaguda5299
    @gudaguda5299 Рік тому +1

    Very good tutorial for tikz! It also helped me learn LaTeX better!

  • @FranzBinder20
    @FranzBinder20 Рік тому

    The Node Example Diagram is more or less exactly what I needed. Thanks!

  • @hengkur45
    @hengkur45 2 роки тому +1

    Nice and clear. I hope for more videos about drawing and plot from this channel.

  • @patheba4394
    @patheba4394 2 роки тому +1

    I was really waiting for this video

  • @econhelp583
    @econhelp583 2 роки тому +11

    I was just thinking that I wanted to watch a few ( or many!) videos on LaTeX. LaTeX has been around a long time and I have known about it and dabbled with it for well over a decade. I think that historically, the main reason that LaTeX has not gone viral is due to software installation and maintenance headaches. I discovered Overleaf last year and it makes using LaTeX much much easier. I am hoping that products like Overleaf encourage instructors to bring LaTeX into the math curriculum in a formal way and to actively encourage the use of LaTeX. I am very glad to have subscribed to Dr. Bazett’s UA-cam channel. Well done and thanks for the videos. I am looking forward to more videos on LaTeX!

    • @philperry6564
      @philperry6564 2 роки тому

      The main reason that LaTeX has not gone viral is, is because it's not as easy to use as Word or Pages. You have almost complete control over the outcome, at the cost of usability. Same with Linux. I do agree, that maintaining a source document that has a lot going on, is very difficult and time consuming.

  • @ZackRekeSkjell
    @ZackRekeSkjell 2 роки тому +3

    As previously, great and informative video! I have learned a lot from them and I am looking forwards to the next one.

  • @lumbradaconsulting6825
    @lumbradaconsulting6825 2 роки тому +1

    Very cool, thank you

  • @AdobadoFantastico
    @AdobadoFantastico 2 роки тому +3

    This is so cool. I'm only exploring math again recently and wanted to find a way to use the latex learning to do something more.

  • @wjrasmussen666
    @wjrasmussen666 2 роки тому +1

    I was worried that you were done making these videos. Thanks for the LaTeX videos.

  • @Andrumen01
    @Andrumen01 Рік тому +1

    LaTeX has really evolved ever since I started using it back in 2002! Amazing!
    Do you know where these packages are being developed? Like, the actual programming code rather than the markdown?
    Thanks!

    • @DrTrefor
      @DrTrefor  Рік тому +2

      Packages are all over the map, individuals or groups who are updating their specific packages like tikz or whatever. There is no central control.

    • @Andrumen01
      @Andrumen01 Рік тому

      Thank you.

  • @michaelrudert3406
    @michaelrudert3406 2 роки тому +2

    Hi Dr. Bazett, let me use this opportunity to thank you for all those really interesting and really good explained videos over all the fields of applications of mathematics and the useful software for visualizing it. There was no single video that bored me. 👍

    • @DrTrefor
      @DrTrefor  2 роки тому +1

      Glad to hear that!!

  • @Nalisification
    @Nalisification 2 роки тому +2

    I love latex! I write everything in is using orgmode. It's amazing

  • @doria_bolognese
    @doria_bolognese 2 роки тому +6

    I love your videos! May I ask is there any way to draw the graphs from graph theory by tikz?

    • @DrTrefor
      @DrTrefor  2 роки тому +3

      Absolutely! The node based approach in the later examples works great for graph theory stuff

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 2 роки тому

      There is probably a library for that in either tizk or pgf or possibly a special latex package.

  • @amirkhan355
    @amirkhan355 Рік тому

    Thank you so much. Where is the link to the latex doc BTW?

  • @madhavsirohi2225
    @madhavsirohi2225 Рік тому

    13:56 This is even better than adobe tools!!!

  • @muhammadadil3981
    @muhammadadil3981 2 роки тому +1

    great sir ....
    Sir, can you show us how to draw subfigures in latex, like 1x2, or 2x2

  • @jirodelPenderisco
    @jirodelPenderisco 2 роки тому +1

    Excelente. Muchas gracias.

  • @josefernandezvargas9189
    @josefernandezvargas9189 Рік тому +1

    Bro this channel is \textbf{UNDERRATED}

  • @Ting3624
    @Ting3624 2 роки тому +5

    The documentation of Tikz is actually a pretty good read, albeit a very long doc, especially the tutorial part, it has a lot of ... let's say ... Germanic humor :)

  • @ciocio5740
    @ciocio5740 9 місяців тому

    Amazing t-shirt!

  • @ami6packs
    @ami6packs Рік тому

    Any tips on using latex to make nice software architecture diagrams..

  • @alexmadsen9394
    @alexmadsen9394 9 місяців тому +1

    Please do a tutorial to circuitikz !!!🙏

  • @abiuniverse
    @abiuniverse Рік тому +1

    How to adjust the distance between boxed nodes (instead of using below=of etc)?

  • @AlexLiberzon
    @AlexLiberzon 2 роки тому

    Could you please record a video about how do you shoot these beautiful videos with the screen recording on your background.

  • @fahadkhan5260
    @fahadkhan5260 2 роки тому +1

    I should we learn math in this way. ❤️

  • @alecclews
    @alecclews 2 роки тому

    It looks like TikZ is easier to use than ImageMagick when drawing diagrams? I use Markdown instead of LaTeX (simple needs), but I'm always on the lookout for an easier way to create diagrams.

  • @jagula
    @jagula 2 роки тому +1

    Can you put something next to curved arrows (ones you used contols on)?

    • @DrTrefor
      @DrTrefor  2 роки тому +1

      Think I would just use a new mode to “manually” place the text, although there likely is a cleaner way I’m just not aware of yet

  • @greisthomson
    @greisthomson 2 роки тому +1

    I'm having project in my last SEM. This might have been more useful if it was uploaded atleast a few days back. Anyway, Thank you for the Latex tutorials.

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 2 роки тому +1

    Dr. Trefor,
    I am looking forward to your next "tiks" presentation. I am particularly interested in graphing functions. The one thing I have struggled with is plotting a circle with pgf. It will only give me a half circle. I want to use the actual function rather than using a "cheat" like solving it first, finding the center and radius and then just plotting with tikz's \draw circle.
    By the way the scaling function you mentioned early on will work fine in standalone document class but if you have it inserted in text then the transformation will not make space in the text for that image. It will overlap the text.
    I have watched a bunch of videos (there are not many on tikz) and I am always surprised by the depth and flexibility of the software - no wonder, the user's manual is 1000 pages plus.
    Thanks!

    • @DrTrefor
      @DrTrefor  2 роки тому +3

      The problem is that a circle isn't the graph of a function so unless you do something like convert to polar coordinates, you can't plot the full circle using function plotting.

    • @haraldurkarlsson1147
      @haraldurkarlsson1147 2 роки тому

      @@DrTrefor
      Thanks for the reply. As far as I can tell it also runs into a problem with negative square roots so it breaks. Perhaps someone will come up with a solution that involves plotting one half (the positive part) and then simply mirror it.

  • @eguineldo
    @eguineldo 6 місяців тому

    That with arrows is going to be very nice

  • @maxferreira1221
    @maxferreira1221 11 місяців тому

    What do you think about pstricks?

  • @SocratesAlexander
    @SocratesAlexander 2 роки тому +1

    Can we export a document to the InDesign software while keeping the formatting?

    • @DrTrefor
      @DrTrefor  2 роки тому +2

      I don’t believe LaTeX can do this, because the formulas etc all need latex, but certainly one can export the tikz image and put that into indesign

    • @SocratesAlexander
      @SocratesAlexander 2 роки тому

      @@DrTrefor I think we can export a "tikz" image as a "jpg" or a "png" image... Do we do this from inside overleaf, or from the compiled and saved "pdf" file? And we are still waiting for the new tutorial....

  • @DouglasKubler
    @DouglasKubler Рік тому

    Great learning by example series. You mentioned GeoGebra. Oh! I see below a comment that GeoGebra can export as Tikz. Have you found other products that will export Tikz?

  • @SriHariBH
    @SriHariBH 2 роки тому

    Small request - please make a video on how you create your videos. :)

  • @peterstucklschwaiger2830
    @peterstucklschwaiger2830 2 роки тому +1

    Love the tutorial (like the others)!
    I really should give TikZ a try the next time I have to draw graphs … that seems so much prettier than anything doable with (online) PowerPoint (not to mention the hassle with the arrow connection points … and that even online PowerPoint is a PIT* on LInux systems). And maybe ditch the KoMa document classes for further projects (sometimes them are too much of a paronomasia ;-)).
    Yet … I am puzzled you're typing “LaTeX” instead of commanding “\LaTeX” :-/

  • @syedshahfahd2659
    @syedshahfahd2659 Рік тому

    I want to use alphanumeric characters in the x-axis for a graph, but whenever I try to punch the alphanumeric characters in the x-axis coordinate, it shows errors. Can you help in this regard?

  • @jamesmorgan3539
    @jamesmorgan3539 2 роки тому +1

    The pronunciation of TikZ is debatable. The two competing pronunciations are "tik-zee" and "tics". You can hear both in this video! "tik-zee" @2:38 and "tics" @2:26. For me, "tics" is just short for "tik-zee."
    Tikz is a recursive acronym of the German phrase "TikZ ist kein Zeichenprogramm." Translated to English, "TikZ is not a drawing language."

  • @robwin0072
    @robwin0072 2 роки тому +2

    Dr., after watching this video, I stumbled attempting to understand why to use Tikz for such efforts; when one can use drawing software, then \include the image in LaTeX *.tex file.
    Why would one not considered this Tikz effort a waste of time?

    • @Croesquared
      @Croesquared 2 роки тому +2

      If you already have experience using vector graphics software like Illustrator or Inkscape, then you may consider those. However, TikZ is nice because the image is integrated into your document. Therefore, if you would like your labels to be in the same font as your paper, TikZ is better.
      TikZ also has many extension packages that you can use to create varied graphics arguably easier than using external tools, like CircuitTikZ for circuit diagrams.

    • @DrTrefor
      @DrTrefor  2 роки тому +3

      To me, both have their uses. Tikz is good because you can mathematically control everything with coordinates and formulas etc, AND can display math formulas etc using latex all in your diagram with full control. But I still for sure make graphics in illustrator or whatever else as well, depending on need.

    • @robwin0072
      @robwin0072 2 роки тому

      @@DrTrefor I began at NASA in the mid-eighties when it was TeX.
      When I say, LaTeX is to TeX, as Browsers was for Arpanet (Predecessor to the Internet).
      Without LaTeX, the method would remain in obscurity. Now, LaTeX provides the avenue for mass adoption. I hope so.
      I think LaTeX be in the curriculum beginning with middle school and get progressively expansive year after year.

  • @picsi-software
    @picsi-software 2 роки тому +1

    Its not just for maths... :) I use it for all my consulting reports

  • @lordstevenson9619
    @lordstevenson9619 2 роки тому +1

    Can’t wait for more tutorials, very well explained. I’ve got a long way still, but I would love to write my dissertation using LateX. I’ve dabbled with it but need more exposure with the code.

    • @DrTrefor
      @DrTrefor  2 роки тому +5

      You should totally do your thesis in LaTeX, it is great for that.

    • @lordstevenson9619
      @lordstevenson9619 2 роки тому +1

      @@DrTrefor I’ve pretty much finished my first year, I got 3 more left including an industry placement year, so I got plenty of time to practise and think about ideas.
      I’m doing a BSc Mathematics & Computer Science degree and I’m loving it. Your channel and many in the UA-cam math community keep me motivated. Much love. ❤️

    • @robwin0072
      @robwin0072 2 роки тому +2

      Practice Practice Practice
      I began at NASA in the mid-eighties when it was TeX.
      When I say, LaTeX is to TeX, as Browsers was for Arpanet (Predecessor to the Internet).
      Without LaTeX, the method would remain in obscurity.
      Now, LaTeX provides the avenue for mass adoption. I hope so.
      I think it should begin with middle school and get progressively expansive year after year.

  • @allenli6715
    @allenli6715 2 роки тому +1

    Could you make a video talking about how do you survive your PhD in uoft.

    • @DrTrefor
      @DrTrefor  2 роки тому +2

      I actually have this exact video planned! Maybe two months from now or thereabouts in the schedule:)

  • @luisalejandrohernandezmaya254

    Good! but please use a dark background.

  • @mulanidhaval1524
    @mulanidhaval1524 11 місяців тому

    Please help me , I can't make arrow from bottom box to top box
    I got this type of error:-
    Use of \tikz@curveCdot doesn't match its definition....ntrols +(right:17mm) and + (right:17mm) (A..

  • @carlgauss6383
    @carlgauss6383 2 місяці тому

    why overleaf showing i do not know this key /tilz/rectangle????

  • @davidecascioli4717
    @davidecascioli4717 2 роки тому +1

    when will the next video come out?

    • @DrTrefor
      @DrTrefor  2 роки тому +1

      Haha about one month:)

  • @giridharpavan1592
    @giridharpavan1592 11 днів тому

    this video went over brain like those arrows

  • @kingsgambit
    @kingsgambit 2 роки тому +4

    there is an error: in 10:10 you say that the point specified before arc is its center. It is its starting point for the arc line though.

  • @TheBuilder
    @TheBuilder 10 місяців тому

    typing up my ascii notes in this rn to impress my friends lets gooo

  • @eetulehtonen69
    @eetulehtonen69 2 роки тому +1

    Latech?

    • @DrTrefor
      @DrTrefor  2 роки тому +1

      Haha people like saying it both ways

  • @Fanaro
    @Fanaro 9 місяців тому

    Do a video comparing TikZ to PSTricks

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 Рік тому

    TikZ is an excellent package but the learning curve is steep - a sheer cliff like the steep side of Half Dome in Yosemite National Park.

  • @Philoreason
    @Philoreason 2 роки тому +3

    Basically, don't do it. LateX is NOT for drawing. You much better off drawing your diagram / charts using other tools, then import them as picture.

  • @Wutheheooooo
    @Wutheheooooo 5 місяців тому

    Geogebra can make Tikz code which can be powerful.

  • @chickengoatfish
    @chickengoatfish Рік тому +1

  • @Heisenberg2097
    @Heisenberg2097 2 роки тому +1

    The problem about LATEX is the same as about Maths. The learning curve is too high. Once you get into it. It is fluid. But if you just want to write some documents... the effort is too high. Another bad option is to use Office products... only hell smells better. Today u can write beautiful documents with plain HTML... add some SVG and it is print perfect. Resolution independent. No matter you write for a scientific publication or the next high-gloss magazine... it will come out perfect due to vector maths. And it will be device independent. The future keeps on moving. BTW. For HTML u don't need to install no CYGWIN or MinGW or Ubuntu... even ur phone no matter if Android or IOs can serve u good. And everybody knows... HTML will be there and readable the next five to seven thousand years. Whereas LATEX even today noone can read. At least noone with a reason-capable mind. It is like learning latin... it will not impress any girl. maybe some old hunches that had to go through that hell too. But no cute cookie. I was cool enough to impress a girl with solving the Maxwell equations. See. Solving the equations is one thing. But impressing a girl with that is MASTER CLASS!!!

  • @tomoki-v6o
    @tomoki-v6o 2 роки тому

    tikz animation in beamer

  • @ant3978
    @ant3978 2 роки тому

    why does he call it latek not latex

    • @diribigal
      @diribigal 2 роки тому

      Basically, because TeX is an abbreviation for the Greek word that gave rise to the English word "technical". See en.wikipedia.org/wiki/TeX#Pronunciation_and_spelling

    • @wrcz
      @wrcz 7 місяців тому

      @@diribigalso it's the same pretentious bullshit like GIF's creator "intending" it to be pronounced as jiff. no thanks

  • @bishalthapa2179
    @bishalthapa2179 2 роки тому +1

    good explanation, but was not helpful to me.

  • @bvviktor
    @bvviktor 2 роки тому

    just use photoshop )

  • @yatsenkoanton
    @yatsenkoanton 2 роки тому +1

    How the hell did this appear in my youtube if all I watch are Vtubers talking about h*ntai and other indecent activities? I indeed have a degree but I chose the path of a degenerate and never watched a math related video on youtube for years
    Great content tho, I don't know why ppl still use WYSIWYG for their diplomas wtf

    • @DrTrefor
      @DrTrefor  2 роки тому +2

      The UA-cam algorithm knows all

  • @thshm2938
    @thshm2938 2 роки тому

    But, would'nt this be wasting time????

    • @diribigal
      @diribigal 2 роки тому +1

      It depends what you're trying to do. Especially if you use the power of LaTeX to change the style of the document at once, but also if you want fine-grained control of the vector images while seamlessly including math expressions and avoiding switching back and forth with something like Illustrator, this might be right for you. Since I don't know illustrator and find it easier to make programmatic diagrams in TikZ than Geogebra or something, it's sometimes right for me

  • @larrytrahan8260
    @larrytrahan8260 2 роки тому +1

    diễn xàm quá

  • @sidekick3rida
    @sidekick3rida 23 дні тому

    Your webcam footage is getting in the way of seeing the content. Seeing you doesn't help me learn.