Include additional symbols in the legend
Hy, I have create a map with extended profile and plant together, with the following commands: / export map -projection extended -o alzado.pdf -layout Layout_ECB \// // -layout-map-header 0 0 off \// // -layout-map-header 0 0 nw \// // -layout empty_header// //// // export map -projection plan -o ./00_OUTPUT/EstebanFelipe_TOPO_800.pdf -layout Layout_ECB \// // -layout-map-image 35 110 s "./alzado.pdf" \// // -layout-map-header -30 80 nw\// // -layout-legend on\// // -layout recuadro\// // -layout longitud \// // -layout-map-image 102 0 e "./LOGO_ECG.png"// //// // system "del alzado.pdf"/ I have a problem. I have lost the symbols that appear in the legend of the extended profile and that are not in the legend of the plant. How can I force the legend of the plant to include symbols not used in it? Regards, Evaristo.
I think you may add them to plan as invisible. But not sure they’ll be in the legend. Martin
21. 10. 2020 v 23:08, Evaristo Quiroga <eqr@ecgracia.com>:
Hy,
I have create a map with extended profile and plant together, with the following commands: export map -projection extended -o alzado.pdf -layout Layout_ECB \ -layout-map-header 0 0 off \ -layout-map-header 0 0 nw \ -layout empty_header
export map -projection plan -o ./00_OUTPUT/EstebanFelipe_TOPO_800.pdf -layout Layout_ECB \ -layout-map-image 35 110 s "./alzado.pdf" \ -layout-map-header -30 80 nw\ -layout-legend on\ -layout recuadro\ -layout longitud \ -layout-map-image 102 0 e "./LOGO_ECG.png"
system "del alzado.pdf"
I have a problem. I have lost the symbols that appear in the legend of the extended profile and that are not in the legend of the plant.
How can I force the legend of the plant to include symbols not used in it?
Regards,
Evaristo.
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Sorry, invisible symbols are not included in legend. Martin
22. 10. 2020 v 11:33, Martin Sluka via Therion <therion@speleo.sk>:
I think you may add them to plan as invisible. But not sure they’ll be in the legend.
Martin
21. 10. 2020 v 23:08, Evaristo Quiroga <eqr@ecgracia.com <mailto:eqr@ecgracia.com>>:
Hy,
I have create a map with extended profile and plant together, with the following commands: export map -projection extended -o alzado.pdf -layout Layout_ECB \ -layout-map-header 0 0 off \ -layout-map-header 0 0 nw \ -layout empty_header
export map -projection plan -o ./00_OUTPUT/EstebanFelipe_TOPO_800.pdf -layout Layout_ECB \ -layout-map-image 35 110 s "./alzado.pdf" \ -layout-map-header -30 80 nw\ -layout-legend on\ -layout recuadro\ -layout longitud \ -layout-map-image 102 0 e "./LOGO_ECG.png"
system "del alzado.pdf"
I have a problem. I have lost the symbols that appear in the legend of the extended profile and that are not in the legend of the plant.
How can I force the legend of the plant to include symbols not used in it?
Regards,
Evaristo.
_______________________________________________ Therion mailing list Therion@speleo.sk <mailto:Therion@speleo.sk> https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
On 22/10/2020 12:00, Tarquin Wilton-Jones via Therion wrote:
On 22/10/2020 11:44, Martin Sluka via Therion wrote:
Sorry, invisible symbols are not included in legend.
you might be able to include a custom symbol that looks the same, which chooses to draw nothing when not in the legend. that's quite a hack though.
Should be this easy, I think (not that I have tested it): text en "point u:placeholder1" "the title you want" code metapost def p_u_placeholder1 (expr P,R,S,A)= T:=identity shifted P; enddef; initsymbol("p_u_placeholder1"); def p_u_placeholder1_legend (expr P,R,S,A)= p_therealsymbolyouwanted_SKBB(P,R,S,A); enddef; endcode Now on your plan, add a point "u" -subtype placeholder1
Hi, Or a possibility : In one of your th2 for the plan, draw the missing symbol(s) from your plan that appears in your extended elevation, but draw them outside of the cave’s walls, and with the option -clip on. I have not tried, but they should then appear in the legend of your plan-pdf, but not in the plan view. Cheers, Xavier
Le 22 oct. 2020 à 13:00, Tarquin Wilton-Jones via Therion <therion@speleo.sk> a écrit :
On 22/10/2020 11:44, Martin Sluka via Therion wrote:
Sorry, invisible symbols are not included in legend.
you might be able to include a custom symbol that looks the same, which chooses to draw nothing when not in the legend. that's quite a hack though.
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Thank you Xavier. Is the solution to the problem and very easy. Cheers, Evaristo. El 22/10/2020 a las 13:23, Xavier Robert escribió:
Hi,
Or a possibility : In one of your th2 for the plan, draw the missing symbol(s) from your plan that appears in your extended elevation, but draw them outside of the cave’s walls, and with the option -clip on. I have not tried, but they should then appear in the legend of your plan-pdf, but not in the plan view.
Cheers,
Xavier
Le 22 oct. 2020 à 13:00, Tarquin Wilton-Jones via Therion <therion@speleo.sk> a écrit :
On 22/10/2020 11:44, Martin Sluka via Therion wrote:
Sorry, invisible symbols are not included in legend. you might be able to include a custom symbol that looks the same, which chooses to draw nothing when not in the legend. that's quite a hack though.
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Is the solution to the problem and very easy.
Bravo Xavier. https://therion.speleo.sk/wiki/tips#drawing_a_symbol_on_the_legend_which_is_...
This is the trick! Thanks! Martin
22. 10. 2020 v 13:23, Xavier Robert <xavier.robert@univ-grenoble-alpes.fr>:
Hi,
Or a possibility : In one of your th2 for the plan, draw the missing symbol(s) from your plan that appears in your extended elevation, but draw them outside of the cave’s walls, and with the option -clip on. I have not tried, but they should then appear in the legend of your plan-pdf, but not in the plan view.
Cheers,
Xavier
Le 22 oct. 2020 à 13:00, Tarquin Wilton-Jones via Therion <therion@speleo.sk> a écrit :
On 22/10/2020 11:44, Martin Sluka via Therion wrote:
Sorry, invisible symbols are not included in legend.
you might be able to include a custom symbol that looks the same, which chooses to draw nothing when not in the legend. that's quite a hack though.
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (4)
-
Evaristo Quiroga -
Martin Sluka -
Tarquin Wilton-Jones -
Xavier Robert