Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

lines of the plotting aml OR how do I change the x and y values to plot things on my map?

AML map plot plotting values y
0
Posted

lines of the plotting aml OR how do I change the x and y values to plot things on my map?

0

A. The calc aml command initiates a mathematical calculation. The line &s y [calc [extract 2 [show convert map %ul% page]] + 6 / 25.4] means extract the value of the second token or entry in the variable %ul%, convert it from map units to page unit (which is set to inches with the pageunits command in the plotting aml), and calculate or add 6 รท 25.4 to this value. Instead of figuring out what 6mm is in inches, we let the aml do the math by knowing that there are 25.4 mm in one inch. If we wanted to add a distance of 8 points to the extracted value we could replace 6 / 25.4 by 8 / 72 since we know that there are 72 points in one inch. We can have more then one mathematical expression to calculate as in 6 / 25.4 + 0.25 which would add 6mm plus one quarter of one inch to the extracted value.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123