Years ago I helped develop the Latex language -- When I worked for Vandelay Industries.
@comporellon11 ай бұрын
Founded by Art Vandelay?
@stevematson480811 ай бұрын
@@comporellon Yes, he was a good friend of mine. Did you know him too?
@Arycke11 ай бұрын
@comporellon don't forget Don Knuth, creator of TeX also! LaTeX is amazing
@stevematson480811 ай бұрын
@@Arycke oh yes, good ol Don. Don was on my bowling league.
@Arycke11 ай бұрын
@stevematson4808 thank you for your development of LateX sir I appreciate your contribution.
@the-alchemist132 жыл бұрын
It was a nice surprise to see that many of the commands are quite similar to MATLAB’s or Matplotlib’s plotting and formatting environment commands
@fgp19792 жыл бұрын
Other way around I believe: the commands in Matlab and matplotlib are similar to latex's!
@youerny2 жыл бұрын
The root of those API are from Matlab, but they are so simple and widely used that introduces something totally different would just consume precious time to learn again. Still, as a new user of Python and all the most widely adopted libraries, I must confess that the “anatomy of a figure” in matplotlib is still a bit confusing when compared to Matlab’s. I spent many years before switching, but still not everything is straightforward to me. And mixing NP or PD with matplotlib is nice, but introduces some peculiarities for each data substrate that could be made more uniform. I am referring to syntax for a plot, vs a plot from a dataframe, vs a plot from a np.math array. Small differences are disorienting and matlab is more straightforward. But it is free, as a beer in a drunk speech, therefore thanks to the community for sharing it all with us
@SourabhBhat2 жыл бұрын
I generally use matplotlib (Python library) with TeX fonts for plotting and export as pdf or eps for later adding to my LaTeX document. Even though it produces very high quality plots, I have to manually adjust the font size (using trial & error) to match the document font size. Pgfplots seems wonderful to get the best of both worlds, especially with the external data file option. Thank you !
@FranseFrikandel10 ай бұрын
I believe if you just set the figure size correctly in matplotlib, and then don't add any width settings or similar to your includefigure in LaTeX, the font sizes should translate correctly.
@d029w72 жыл бұрын
A new LaTeX user here. This video is very helpful. I am going to check other videos as well. Thank you for sharing your knowledge.
@mikefochtman71642 жыл бұрын
As an older person, when I went back to take some college for an additional degree (~2010), I struggled with coming up with graphing tools like this. I wish I had found your material then but it may not have existed, I don't know. I ended up kluging some stuff together with Excel and what-not. (first round of school, we typed papers on typewriter and left large blanks, where we would hand-write formula/ symbols. lol) Love your videos, even if I don't have a big use for them now (retired). Some folks might not appreciate how nice these tools are. (okay, I'm being curmudgeonly, "kids don't know how good they have it, we had to walk... uphill both ways... ", "You had ones and zeros? We programmed with only ones!" lol)
@NuclearPhysix2 жыл бұрын
I wish I had just 1 percent of your brains. Great work Dr Bazett.
@DrTrefor2 жыл бұрын
You do!
@bastianfrom7710 ай бұрын
In the "old days" I used gnuplot which produces either eps, png or latex-code. It is actually a old, (then) convinient tool. One of the main points for me was, that the plots have a common style and not look too different. Another important feature was, that als the labels in the graph have exactly the same font and adapted fontsize as found in the text. I like this package you presented here and I think I will try it
@haraldurkarlsson11472 жыл бұрын
Nice presentation and I agree you cannot simply watch this stuff. You have to do it yourself in order to learn it. LaTeX does have steep learning curve but the habits you develop when working with it will help when working with other programs. Fortunately, the PGFPLOTS manual is excellent with great examples and explanations. Finally, it is simplest to set compat=newest inside the pgfplotsset (in the preamble) and not worry about the version you are using. I would like to see more on working with external data - for instance csv files. Thanks.
@Childerick1 Жыл бұрын
It is so nice to have a well articulated tutorial on Latex at the right speed and with a well presented screen. Plus the enthusiastic smile of the lecturer who carries so much positive emotions. Thanks a lot!
@bluedoggo44292 жыл бұрын
bruh, I've been waiting for this video soooo much. Grazie mille! *thankful italian gestures*
@zahidurrahaman428 Жыл бұрын
Very good job. Thank you very much Dr. Trefor.
@DrTrefor Жыл бұрын
Glad you liked it!
@FelipeBalbi2 жыл бұрын
11:58 the way I consider the anchors is that I place a bounding box around the label, then the point on that bound box that sits on the axis is the (in this case) the south west corner of the bounding box
@ppal642 жыл бұрын
LaTeX is just something that physicists ‘do’,” explains chief editor ( Nature Magazine) Andrea Taroni. “Trying to get them to do otherwise is like trying to herd cats.”
@Filup2 жыл бұрын
Very good video. I am a double degree student in math and comp sci, and LaTeX is one of those things that you both remember but never entirely. Having a whole video with dedicated examples is a good reference for anyone who cannot quite recall how to do individual tasks. This is a better resource than the online forums recommending (and I do not joke) 20+ year old advice, which may now me deprecated.
@rayenwiller2 ай бұрын
it's lucky to learn from a wonderful teacher.
@DrWeselcouch10 ай бұрын
This is great! I use Tex all the time, but now I'll be able to make graphs with Absolute Confidence!
@youerny2 жыл бұрын
Many packages available, but after several docs I definitely opted for matplotlib+pdf despite coding the plots in the doc src. As far as I know I just opted for a control flow design package because the quality of the feedback control loops were astonishing. LaTeX should be mandatory, but try to look for the best compromise among orthodox approach and throughput (how long it takes to complete this chapter, one week or three?). :)
@youerny2 жыл бұрын
@gautha pandith every task, its tool. I totally agree with you. On the other hand we should consider with huge humility that the author of TeX is a genius, and definitely not someone prone to adopt efficient trade-offs like both of us. The effort to write such an intricate piece of SW, after having studied editor graphics and Fonts deeply, in order to write the most wide and beautiful books (encyclopedia today…?) about Computer Science, just because his publisher changed the font for his books with something he disliked, is not exactly the average scientist aiming at publishing to avoid death :). Jokes aside, thank you with all my gratitude, Dr Knuth and Dr. Lamport, for making the world a better place with your creations (La)TeX!
@stephenpaapaowereduassefua53712 жыл бұрын
This video is really useful. Thanks a lot sir
@ТимофейЧерников-щ2х2 жыл бұрын
Thank you for this amasing video! Although I prefer to plot in matplotlib in my Jupyter notebook and then import pgf plot to Latex. It's more convenient if you're doing some calculations on the data before plotting it and might want to change source of the data/add some other calculations.
@tiagoinenglish6 ай бұрын
Thank you so much, Mr. Bazett! I didn't even know it was possible do graphics on LaTeX. I've just learnt something new! It was pretty exciting. I hope I can do the graphs I need to do
@rogeriosoares82722 жыл бұрын
Very helpful. Thank you for the video
@jacobstarr90107 ай бұрын
I'm in a physics lab and am trying to learn LaTeX to make it easier to make good lab reports, so thank you for these videos
@ImStian10 ай бұрын
Fantastic video! I'm writing my bachelor's thesis next semester it's going to look super fancy with these plots! :D
@sergiop.49092 жыл бұрын
Very helpful thanks!! Plotting with this package looks easier than plotting on matlab or octave haha
@fadl9992 жыл бұрын
Thanks a lot for the video and sharing the latex template.
@davidgillies6202 жыл бұрын
A big advantage of LaTeX is that it is programmatically generable in a way that, say, MS Word documents are not (you can script Word using Visual Studio, but you probably shouldn't). For stereotyped report creation, for example, it's a very lightweight technique. I primarily use Mathematica to generate plots for inclusion in LaTeX documents because I have even more control over the output , as well as three decades' experience using the software. Lately I've been using R quite a bit.
@youerny2 жыл бұрын
MS word is for administrative staff. If your job is different, LaTeX is your tool! Possible in one of the modern online incarnations
@JR-uc3nk2 ай бұрын
Hey dude I love you with all my heart you have so many important videos that help me haha
@zyxzevn2 жыл бұрын
And I thought that Latex was just for plain text and formulas. Thanks for showing this.
@hrperformance2 жыл бұрын
Whoohooo! This is going to be so useful!! (I haven't actually watched it yet but I know it will be good haha)
@FoxtwoPC2 жыл бұрын
Thank you for a fantastically explained and generally helpful video -- I only wish it existed or I was aware of these tools when I wrote my thesis in 2011 using LaTeX and a DIY MATLAB/Octave/Bash script set that would sequentially run Matlab/Octave scripts to generate, label, export plots into a graphics folder and then compile my LaTeX doc where they would be added using '\includegraphics' then ->pdfLaTeX->open in some Ubuntu pdf viewer to create my "instant" preview...something like pgfplots would have helped me close the loop in a much simpler manner...I think at the time I was just happy that I got BibTex working...
@ziedjbeli48112 жыл бұрын
Very helpful, thank you so much!
@michaelgraff69782 жыл бұрын
I knew TeX and LaTeX very very well when I was in college. I now have flashbacks.
@angelamusiemangela9 ай бұрын
Che bello!!!!! Il punto centrale,nel cerchio e nella circonferenza!!!!! Whaooo!
@NuclearPhysix2 жыл бұрын
I admire your knowledge and clarity of explanations. Can I request/suggest a series on the history of famous mathematical functions such as Laplace, Gamma, Fourier, etc. How did they come about?
@DrTrefor2 жыл бұрын
That's a great idea!
@Ajajqiqjaa2 жыл бұрын
@@DrTrefor thank you for your great effort !!!!!!!
@isaackay58872 жыл бұрын
I'd love to see a video on using LaTeX to create graphs for solutions of inhomogeneous diffusion- / wave- equation BVPs (especially ones who's spatial operators are not self-adjoint - requiring to be put into Sturm-Liouville form) [Edit 1: I think it would be helpful to know how to do this here in LaTeX versus using secondary software like MATLAB, Python, Wolfram, or Geogebra, especially for lecture documentation purposes when trying to compare what would happen with different ICs and variations of dirichlet/neumann/robin BCs. By the way, love your videos, Dr. Bazett - keep up the terrific work!] [Edit 2: Ahh shoot - I had too much hope! It's such a powerful tool that sometimes I forget it's not an IDE 😅]
@DrTrefor2 жыл бұрын
So LaTeX doesn't "know" any math, it doesn't know how to solve a differential equation for instance. So that part I have to leave to you, but once you have a function or a vector field or whatever else, then LaTeX can be used to plot it.
@antoniocafualicamendes2370 Жыл бұрын
Salvaste a minha tese. Muito obrigado pela aula linda e clara!
@alialzahrani15412 жыл бұрын
Your video has made my life much easier.. thanks a lot 💐
@aweebthatlovesmath42202 жыл бұрын
Love the shirt!
@DrTrefor2 жыл бұрын
Thanks! It is one of my favourites:D
@TranquilSeaOfMath2 жыл бұрын
This is a nice overview/introduction to pgfplots.
@whydoyouaskdude2 жыл бұрын
Nice video. You don't need to specify color=red, just [red] will do the same. Also, did you know a node can contain literally anything? Even includegraphics commands to position images with nodes or even entire tikzpicture environments to reuse and easily move entire already made TikZ graphics. The possibilities are endless.
@FelipeBalbi2 жыл бұрын
Very cool! I wish I had this video years ago when I started using latex and tikz. Personally, I like to put tikzpicture always inside a figure environment that starts with a \centering :-)
@keysersoze_62 жыл бұрын
Mate, you helped me a lot, i had to make loads of plots for my thesis!
@MrRenanwill2 жыл бұрын
I like to use SVG figures generated by Geogebra. The time it compiles is just larger in the first time you compile it. In the rest of the time, It looks like the time of inserting a PDF.
@sg62805 ай бұрын
Thank you! This was extremely helpful and well done!
@solarflair36132 жыл бұрын
Those 3d plots look so sick !!!! Great stuff very cool
@erikfauser24182 жыл бұрын
very helpful video and easy to understand
@Eligos6662 жыл бұрын
I love it!
@jonathanalexandremorazalme7495 Жыл бұрын
Very nice video! Thank you for the content!
@jasonthomas2908 Жыл бұрын
I use Jupyter Notebooks + Gnu Octave. That way I can do computation stuff alongside my latex
@muzaffarbashir4566 Жыл бұрын
Plz do share your old overleaf project so we can learn more
@ocayaro2 жыл бұрын
This video finally made me subscribe.
@noblesavage1492 жыл бұрын
Looking forward to having a go with this in emacs!!!
@saragalvan11592 жыл бұрын
I love latex, when overleaf started I really hate it! To me share Latex was heaven. But when they merge the two projects, I was forced to use overleaf and now I recognize that is really useful and I love the project! God bless you guys!
@Linuxdirk10 ай бұрын
I really wish I had an actual use for LaTeX in my daily hobby or work life!
@pedrogonzalobrito Жыл бұрын
Thank you very much! Excellent video 💯
@pearseseun Жыл бұрын
Pls kindly do a video on package titlesec manipulation with tikz package......these are the areas that make professional.
@oriontechtube2 жыл бұрын
very important video !
@vin84iitr2 жыл бұрын
Awesome video!! Adding a small request to demonstrate overleaf to use in journal article submission (preferably for Elsevier).
@JohnVKaravitis2 жыл бұрын
Jesus Christ. 3 minutes into this video, and I'm already exhausted looking at all this code!
@DrTrefor2 жыл бұрын
haha! I thought this the first time too!
@leonardosouzaconradodesant6213 Жыл бұрын
Thank you for share!!!
@sergekamga4512 Жыл бұрын
How did you add that yellow circle to your cursor or pointer?
@kalinaszek2 жыл бұрын
I love overleaf!
@rafrakesp85292 жыл бұрын
I really appreciate this kind of videos, thank you so much! I want to go deeper and learn all the posibilities for customizing my graphs, i.e. fontsize, labels and title location, etc... Is there any recommendation for that?
@user-he4ef9br7z2 жыл бұрын
Read the package manual from CTAN.
@hosz54992 жыл бұрын
First great tool, many scientists love latex. would your scatter plots import large chunk of data in an external file ?
@DrTrefor2 жыл бұрын
There might be some technical upper bound, but in general yes you can import as many points as you wish
@hosz54992 жыл бұрын
@@DrTrefor can you use a command like /include so that all data is outside the latex file ?
@drsumankhanal2 жыл бұрын
Hi, thank you for the video. If you have time, could you please also teach on how to write latex class and latex packages: from basic to advanced?
@GhulamNabiDar2 жыл бұрын
Your vedios indeed great and greatest
@taghreednaser18862 жыл бұрын
That is great☆ ..thank you
@porthos8922 жыл бұрын
Very good and informative playlist of LaTex!!! Could you show also watermarks imports and images configurations. Like, how I could put the images accurately where i want..... Thanks for all your help!!!! awesome job!!!!!! 🔥🔥
@christinachingakham9049 Жыл бұрын
Sir Please solved my problem Plot y= sin x and y= cos x on the same coordinate system, for 0
@muzaffarbashir4566 Жыл бұрын
Love you dr sb ❤
@mathematica5278 Жыл бұрын
Hey, Dr. Trefor Bazett Sir, Suppose we want to ignore one point on X axis that is function does not exist at that point. How to plot such graph? By the this video is very useful to complete my research paper. I hope you you will solve my asked question. Thank You
@DrTrefor Жыл бұрын
I’d draw a little circle around that point, and exaggerate it to be finite notninfintessimal
@mathematica5278 Жыл бұрын
@@DrTrefor Actually sir, I have to draw a graph only on positive integers except primes. By the way this tutorial is useful for research. Thank You sir
@dxrbkn51452 жыл бұрын
this will be useful later nice thanks
@chesshooligan12829 ай бұрын
Thank you for this.
@23ZeuZ2310 ай бұрын
If Matlab were free, would you still use LaTeX for graphics? Because there is Octave, and if we are talking about graphs, we are also talking about data generation and maybe complex operations, etc.
@DrTrefor10 ай бұрын
I like lots of graphics options, it just depends on what I’m trying to do.
@s.l.28792 жыл бұрын
Hey, I have been using tikz and pgfplot for a while now, but there is always something new to learn from your videos. Awesome! Using tikz for my plots is just so much better. No more pain with different fonts, fontsize etc. when including plots from other programs. Something worth mentioning is the externalize library, which helps with the long compilation times, especially when you are including experimental data or you just have a lot of figures , in overleaf you can get a compilation timeout really quick. One question of topic: I watched your video where you presented your own thesis and I really liked the font you were using. Do you remember which one it was and how to use it?
@DrTrefor2 жыл бұрын
Thank you and yes that is a very good trick with lots of plots! I don’t recall the font, but if you load the university of Toronto template it will be whatever it uses
@valentin00002 жыл бұрын
I always use python's matplotlib and then include the eps-file in LaTeX :)
@audic23502 жыл бұрын
I usually use gnuplot to plot graphs and then I screen it to my latex files... I think using your method is better
@mariss4446 Жыл бұрын
Thats fine, but what about 3d solid of revolution about the x-axis.
@MatteoBoffoakaStempelo Жыл бұрын
Grazie.
@DrTrefor Жыл бұрын
Thanks so much!
@gustavosanezchancy319411 ай бұрын
Take my like. What an interesting video.
@samuelnewport49702 жыл бұрын
Great video, would be really useful to have access to the document code for quick reference
@sathyendarsreepada48938 ай бұрын
Your videos are very informative and helpful, thank you. How do I create a legend for a column plot? Also, I couldn't get rid of a warning saying Underfull \hbox (badness 10000) in paragraph at lines so and so?
@GoatzAreEpic2 жыл бұрын
I tried using LATEX but my school doesn't care if we use word or latex so I just write everything in word and do my plots in excel and matlab haha
@DrTrefor2 жыл бұрын
Lots of ways to make plots, and I use both of those from time to time too. Just depends on exactly what you are doing!
@mathed60542 жыл бұрын
very helpful .. Thanksssssssssss
@kvnptl44002 жыл бұрын
BTW, why don't we use matplotlib and save fig as .SVG format and put it on latex? It's easy and more flexible as it is in Python.
@loopingdope2 жыл бұрын
Ty, didnt know this was a possibility
@DrTrefor2 жыл бұрын
This is good! I love matplotlib! I think it depends on what precisely you are doing. So to me the advantages of using LaTeX are the ability to modify and maintain consistent formatting throughout the document (text in image changes with the rest of the document), as well as benefits of having a native graphing program that you can specify everything of using the same syntax you are using for the rest of your mathematical documents. But your mileage will definitely vary and if someone is really invested and familiar with any other software like matplotlib or matlab or whatever, that will mostly be fine!
@Rihanna8K2 жыл бұрын
I can't use svg directly on LaTeX... does it need any special package?
@kvnptl44002 жыл бұрын
@@Rihanna8K you can use package: \usepackage{svg} \begin{figure}[H] \centering \def\svgscale{0.7} \includesvg[width= \textwidth \scale 10 ]{your_figure_name.svg} \caption{put_your_caption} \label{fig:some_name} \end{figure}
@simonbenitezsoto960610 ай бұрын
Great video!
@MrVontar2 жыл бұрын
I was looking at this and it almost seems like an ad for people to use latex 😆
@thabsor Жыл бұрын
thank you very much
@oidbio25652 жыл бұрын
Excellent video. Thank you! I was wondering if you do any videos on producing a video…a meta-training so to speak :). If not, would you mind letting us know what editing tools you use. I have been teaching online regularly and and have been using the standard recording features of zoom but I can’t edit at all. I know I can download the videos and edit them in another app but so far have not attempted to do this. Do you record and edit in the same app? Thank you for any recommendations you have time to share with me!
@DrTrefor2 жыл бұрын
I have this video!!! kzbin.info/www/bejne/np60lZKGlNadZ9k
@dydx37412 жыл бұрын
sir please start a series on Linear Algebra ...here or on Udemy..... i want to learn it from you
@DrTrefor2 жыл бұрын
I already have a whole playlist on linear algebra! Check out my channel's homepage
@dydx37412 жыл бұрын
@@DrTrefor Thankyou so so much.... 😘
@onusiddartha1641 Жыл бұрын
I'm facing a problem Although all the codes are exactly correct but still it is not showing the graph What's should I do
@kjp762 жыл бұрын
Editor. What about the TeXworks Jonathan Kew presented at the BachoTeX 2008 conference? I am far from waging wars for the superiority of editors. Vim is still the best tool I have encountered since 1984. If it weren't for the learning curve, I would have said the same about Emacs.
@ketantamhankar3620 Жыл бұрын
Hi! How would you plot an implicitly defined function on 2D axes? Also, if you want to highlight a specific point on a graph, how would you go about doing it?
@markdecker53510 ай бұрын
Mathematica, with dynamic sampling, is superior, imo. It’s just as customizable (if not more so) yet less effort for standard plots. Also supports LaTex. The inherent structure of Mathematica has no rivals.
@shanobuo6 ай бұрын
I am confused. Mathematica is a math program while LaTeX is a typesetting program, aren't?
@ewerybody2 жыл бұрын
5:50 There is no auto-completion for these? Would be nice to mention where to look up those arguments.
@soufianehn8817 Жыл бұрын
How to adjust the graphicx added please ..i need some help about that coz every single graphic is taking all the page space .. !!! So how to deal with that plz
@emanuelorzusa2 жыл бұрын
¡Gracias!
@浩真徐 Жыл бұрын
How to plot fraction function or square function? Simply typing \frac and \sqrt doesn't seem to work.
@MeDFARd10 ай бұрын
first time that i use LaTeX was early 1990... I did all my university notes with LaTeX