• No results found

Test: no macro parameters

N/A
N/A
Protected

Academic year: 2021

Share "Test: no macro parameters"

Copied!
15
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Test: no macro parameters

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

The default output generated by manually including the graphics is given in the first line and the output of \includecombinedgraphics with the options indicated in the headline is given in the next line. Here, we should see exactly the same output in both lines, because \includecombinedgraphics is used without any parameters.

(2)

Test: textfont=\bfseries\Large,textcolor=\color{blue}

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

square

-1

-0.8

-0.6

-0.4

-0.2

0.2

0

0.4

0.6

0.8

1

0 1 2 3 4 5 6

sin(x)

x

Sinus

filled

sin(x)

The font size is increased, the font series changed to bold-face and the color to blue. Note, that the vector graphics part is not affected.

(3)

Test: vecscale=1.2

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

The vector graphics part is scaled by a factor of 1.2. Note, that the text positions are changed accordingly, but the font and color are not affected.

(4)

Test: vecwidth=7cm

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) length: 7cm length: 7cm

These examples are similar to the vecscale=... examples, but the scaling factor is calculated automatically such that the graphics have a width of 7cm.

(5)

Test: vecheight=6cm

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) length: 6cm square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

Similiar example, but in this case the height is specified.

(6)

Test: vecfile=...

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

Here, the vector graphics parts of the two graphics are interchanged (at the inclusion of the first graphics file, the vector graphics part of the second graphics file is passed to its vecfile parameter and vice versa). This leads to some “chaotic” output, but the vecfile parameter works as expected.

(7)

Test: vecinclude=false

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

Here, the automatic inclusion of the vector graphics part is disabled. As the LATEX part of Xfig

graphics do not include it (left), the vector graphics part is not shown. In contrast gnuplot includes the vector graphics part in the LATEX part (right).

(8)

Test: vecinclude=overwrite

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

The inclusion of the vector graphics part by the LATEX part is disabled (if any) and \includecombinedgraphics

generates its own code for the inclusion. In this case the vector graphics part is included first, because vecfirst=true is the default. Note, that the label “filled” in the gnuplot graphics has become visible. (In gnuplot’s LATEX parts labels are output before including the vector

graphics part and, hence, can become invisible under filled curves.)

(9)

Test: vecfirst=false,vecinclude=overwrite

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

This example is similar to the previous one, but now the vector graphics part is forced to be included after the LATEX part. Note, that the text in the left one is hidden and in addition to

the label “filled”, parts of the axes labels etc. are hidden in the right one.

(10)

Test: angle=90

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) squar e -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 0 1 2 3 4 5 6 sin(x) x Sin us filled sin(x)

The graphics are rotated by 90 degrees.

(11)

Test: scale=0.8

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

The whole graphics (vector graphics part and font) are scaled by a factor of 0.8.

(12)

Test: hscale=1.2,vscale=0.8

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6

sin(x)

x Sinus filled sin(x)

Similar to the example before, by the horizontal and vertical scaling factors differ.

(13)

Test: width=0.49\textwidth,height=5cm

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

square

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0

1

2

3

4

5

6

sin(x)

x

Sinus

filled

sin(x)

Similar to the example before, but instead of scaling factors explicit heights and widths are given.

(14)

Test: width=0.49\textwidth,keepaspectratio

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x)

square

-1

-0.8

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

0

1

2

3

4

5

6

sin(x)

x

Sinus

filled

sin(x)

Again, similar as the examples before, but the new height is automatically calculated such that the aspect ratio of the graphics does not change.

(15)

Test: angle=30,scale=0.75,angle=15

square -1 -0.8 -0.6 -0.4 -0.20 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sinus filled sin(x) squar e -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.81 0 1 2 3 4 5 6 sin(x) x Sin us filled sin(x)

Here, a combination of different rotations and scalings is shown. In contrast to other parame-ters, some (like angle and scale) do not overwrite previously specified parameparame-ters, but they accumulate.

Referenties

GERELATEERDE DOCUMENTEN

De aardappelziekte, valse meeldauw, sudden oak death en een zalmziekte zijn het resul- taat van een groep minuscule, maar vernie- tigende organismen, de Oömyceten, die door

Tijdens het veldwerk bleek deze soort echter in dat gedeelte van de Globigerina Limestone niet voor te komen, maar kon haar voorkomen worden vastgesteld vanaf het tweede

• The final published version features the final layout of the paper including the volume, issue and page numbers.. Link

Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication:.. • A submitted manuscript is

De funderingen met soms nog een gedeelte van de opstaande muren van het koor en de sacristie behoren alle tot dezelfde bouwtrant als deze van de noord- en zuidgevel van het

The agents who show the most loyalty to the source text are the editor (41.4% in her comments after her revision/editing) and the translator (34.7% in her comments during the

Bijmenging: Bio Bioturbatie Hu Humus Glau Glauconiet BC Bouwceramiek KM Kalkmortel CM Cementmortel ZM Zandmortel HK Houtskool Fe IJzerconcreties Fe-slak IJzerslak FeZS IJzerzandsteen