Commit 5e9aeb4735b4a01274b15a798cc6ffdc0e234919
1 parent
b4cc1097
Exists in
master
updated help
Showing
1 changed file
with
50 additions
and
4 deletions
Show diff stats
src/idl/dstmwrp_exp.pro
1 | 1 | FUNCTION dstmwrp_exp, axis, index, number |
2 | 2 | |
3 | -;IC: modified so that a '1' isn't displayed before the values | |
4 | - | |
3 | +;+ | |
4 | +; NAME: | |
5 | +; dstmwrp_exp | |
6 | +; | |
7 | +; PURPOSE: | |
8 | +; Returns formatted string for exponents in graphical output | |
9 | +; | |
10 | +; CATEGORY: | |
11 | +; DustEMWrap, Distributed, LowLevel, Plotting | |
12 | +; | |
13 | +; CALLING SEQUENCE: | |
14 | +; dstmwrp_exp, axis, index, number | |
15 | +; | |
16 | +; INPUTS: | |
17 | +; axis : deprecated but kept for backwards compatibility | |
18 | +; index : deprecated but kept for backwards compatibility | |
19 | +; number : value to be converted to exponential as formatted string | |
20 | +; | |
21 | +; OPTIONAL INPUT PARAMETERS: | |
22 | +; None | |
23 | +; | |
24 | +; OUTPUTS: | |
25 | +; exponential as formatted string | |
26 | +; | |
27 | +; OPTIONAL OUTPUT PARAMETERS: | |
28 | +; | |
29 | +; ACCEPTED KEY-WORDS: | |
30 | +; | |
31 | +; COMMON BLOCKS: | |
32 | +; None | |
33 | +; | |
34 | +; SIDE EFFECTS: | |
35 | +; | |
36 | +; RESTRICTIONS: | |
37 | +; The DustEMWrap IDL code must be installed | |
38 | +; | |
39 | +; PROCEDURES AND SUBROUTINES USED: | |
40 | +; | |
41 | +; EXAMPLES | |
42 | +; expstr=dstmwrp_exp(axis, index, 15000.) | |
43 | +; | |
44 | +; MODIFICATION HISTORY: | |
45 | +; Written by IC | |
46 | +; Evolution details on the DustEMWrap gitlab. | |
47 | +; See http://dustemwrap.irap.omp.eu/ for FAQ and help. | |
48 | +;- | |
49 | + | |
5 | 50 | ;A special case. |
6 | 51 | IF number EQ 0 THEN RETURN, '0' |
7 | 52 | |
... | ... | @@ -32,5 +77,6 @@ FUNCTION dstmwrp_exp, axis, index, number |
32 | 77 | IF first EQ 1 then RETURN, frmt + thisExponent + '!N' ELSE RETURN, first + 'x' + frmt + thisExponent + '!N' |
33 | 78 | ENDELSE |
34 | 79 | |
35 | - | |
36 | -END | |
37 | 80 | \ No newline at end of file |
81 | +the_end: | |
82 | + | |
83 | +END | ... | ... |