Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Julia
  • Table Of Contents Toc
Mastering Julia

Mastering Julia

By : Malcolm Sherrington
4.4 (7)
close
close
Mastering Julia

Mastering Julia

4.4 (7)
By: Malcolm Sherrington

Overview of this book

Julia is a well-constructed programming language with fast execution speed, eliminating the classic problem of performing analysis in one language and translating it for performance into a second. This book will help you develop and enhance your programming skills in Julia to solve real-world automation challenges. This book starts off with a refresher on installing and running Julia on different platforms. Next, you will compare the different ways of working with Julia and explore Julia's key features in-depth by looking at design and build. You will see how data works using simple statistics and analytics, and discover Julia's speed, its real strength, which makes it particularly useful in highly intensive computing tasks and observe how Julia can cooperate with external processes in order to enhance graphics and data visualization. Finally, you will look into meta-programming and learn how it adds great power to the language and establish networking and distributed computing with Julia.
Table of Contents (12 chapters)
close
close
11
Index

Basic graphics in Julia


We have already encountered some graphics in the previous chapters of this book, both text plots and two-dimensional graphics using modules such as ASCIIPlots and Winston. In this section, we are going to look a little further into these and similar packages.

Text plotting

In Chapter 1, The Julia Environment, we had seen some simple graphics using the ASCII plots package.

This has largely been replaced with a second package, the TextPlots package. While it does not provide sophisticated visualization, it is worth a look as it is very lightweight and loads quickly, being independent of any graphic libraries or drivers.

The basic call uses a function of a single variable together with an optional range of values for that variable.

The range can be specified in the x0:x1 form or as separate arguments (,,,.x0,x1). If no range is provided, then a default of -10:10 is used.

It is possible to define more than one function, but the display can be confusing.

Consider the following...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Julia
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon