Wiki source code of Bild Variablen

Last modified by Hendrik Zschocke on 12.01.2024

Show last authors
1 {{layout}}
2 {{layout-section ac:type="two_right_sidebar"}}
3 {{layout-cell}}
4 Variables can also contain image content. For these kinds of variables, select the "**Image**" variable type.
5
6 [[image:attach:Editor - Bildvariable Typauswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="196" width="325"]]
7
8 Below, you will find instructions on the value settings for image variables.
9
10 [[image:attach:Editor - Bildvariable Wertsetzung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" height="240" width="324"]]
11 {{/layout-cell}}
12
13 {{layout-cell}}
14 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Content"}}
15 {{toc/}}
16
17 **Related topics**
18
19 * [[Variables: Definition of a condition>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome]]
20 * [[Calculation interaction>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Berechnungsaufgabe.WebHome]]
21 * [[Formula comparison>>doc:ONYX.Erstellung von Testinhalten.Aufgabentypen.Formelvergleich.WebHome]]
22 {{/panel}}
23
24 {{panel borderColor="#ddd" bgColor="#f0f0f0" borderStyle="solid" title="Further information"}}
25 * [[MAXIMA manual>>url:http://maxima.sourceforge.net/docs/manual/maxima.html||shape="rect"]]
26 * [[MAXIMA good practice examples>>url:https://bildungsportal.sachsen.de/opal/auth/RepositoryEntry/5499682817/CourseNode/93229879750473/wiki/Index||shape="rect"]]
27 * [[MAXIMA system information>>url:http://maxima.sourceforge.net/||rel="nofollow" shape="rect" class="external-link"]]
28 {{/panel}}
29 {{/layout-cell}}
30 {{/layout-section}}
31
32 {{layout-section ac:type="single"}}
33 {{layout-cell}}
34
35 {{/layout-cell}}
36 {{/layout-section}}
37
38 {{layout-section ac:type="single"}}
39 {{layout-cell}}
40 == Random selection ==
41
42 Store multiple images. At runtime, one of these images is then randomly selected.
43
44 The following settings are available for image variables:
45
46 (% class="wrapped" %)
47 |=(((
48 ID
49 )))|(((
50 (% class="TableParagraph" %)
51 Each image is assigned a unique ID. This allows you to use [[conditions>>doc:ONYX.Erstellung von Testinhalten.Aufgaben.Variablen verwenden.WebHome]] to set other variables depending on the selected image file or precisely control the selection of the image file, for example.
52 )))
53 |=(((
54 Source
55 )))|(((
56 (% class="TableParagraph" %)
57 Select an image file from your resources by clicking on **Browse**. Then click on **Upload**, and the file will be uploaded and displayed as a preview image on the left.
58 )))
59 |=(((
60 Description, Width, Height
61 )))|(((
62 (% class="TableParagraph" %)
63 You can store an alternative text description for each image file if the image cannot be displayed on the participant's device. You can also define the width and height of the image.
64 )))
65
66 [[image:attach:Editor - Bildvariable Wertsetzung Zufällige Auswahl_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
67
68 **Application example:**
69
70 * //Random selection: Image_01, Image_02, Image_03: //One of the specified images is randomly selected, for example "The Monument to the Battle of the Nations in Leipzig".
71 {{/layout-cell}}
72 {{/layout-section}}
73
74 {{layout-section ac:type="single"}}
75 {{layout-cell}}
76
77 {{/layout-cell}}
78 {{/layout-section}}
79
80 {{layout-section ac:type="single"}}
81 {{layout-cell}}
82 == Calculation (Maxima) ==
83
84 Use the option to display images in questions via image variables. These are generated at runtime using the specified MAXIMA calculation.
85
86 After selecting the **Calculation (Maxima)** option, you will see a text field. Enter your calculation rule in MAXIMA notation. Please note that the use of the [**$FILENAME**] placeholder is mandatory for the image file.
87
88 You can also find more detailed information in the Maxima help, for example on the [[Graphic representation>>url:https://maxima.sourceforge.io/docs/manual/de/maxima_12.html||shape="rect"]] help page.
89
90 [[image:attach:Editor - Bildvariable Wertsezung Berechnung_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
91 {{/layout-cell}}
92 {{/layout-section}}
93
94 {{layout-section ac:type="single"}}
95 {{layout-cell}}
96
97 {{/layout-cell}}
98 {{/layout-section}}
99
100 {{layout-section ac:type="single"}}
101 {{layout-cell}}
102 == Function graph (Maxima) ==
103
104 A similar display is also available with the **Function graph (Maxima)** selection option. Here you can add functions directly in the editor interface and set the desired display specifications.
105
106 [[image:attach:Editor - Bildvariable Wertsetzung Funktionsgraph_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
107 {{/layout-cell}}
108 {{/layout-section}}
109
110 {{layout-section ac:type="single"}}
111 {{layout-cell}}
112
113 {{/layout-cell}}
114 {{/layout-section}}
115
116 {{layout-section ac:type="single"}}
117 {{layout-cell}}
118 == Charts (Maxima) ==
119
120 It is also possible to store charts with the appropriate selection options.
121
122 The following chart types are available:
123
124 * bar chart
125 * bar set chart
126 * pie chart
127
128 Depending on your selection, you will be shown suitable configuration options for specifying the required values, colours and image sizes.
129 {{/layout-cell}}
130 {{/layout-section}}
131
132 {{layout-section ac:type="three_equal"}}
133 {{layout-cell}}
134 [[image:attach:Editor - Bildvariable Wertsetzung Säulendiagramm_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
135 {{/layout-cell}}
136
137 {{layout-cell}}
138 [[image:attach:Editor - Bildvariable Wertsetzung Säulensetdiagramm_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
139 {{/layout-cell}}
140
141 {{layout-cell}}
142 [[image:attach:Editor - Bildvariable Wertsetzung Kreisdiagramm_de.png||data-xwiki-image-style="img-screen" data-xwiki-image-style-border="true" width="500"]]
143 {{/layout-cell}}
144 {{/layout-section}}
145 {{/layout}}