I want to define a function like
AxisScaling[Plot] = {Identity, Identity};
AxisScaling[LogPlot] = {Log, Identity};
AxisScaling[LogLogPlot] = {Log, Log};
AxisScaling[ListPlot] = {Identity, Identity};
AxisScaling[ListLogPlot] = {Log, Identity};
AxisScaling[ListLogLogPlot] = {Log, Log};
except more programmatic. Looking at the manual suggests that I might want to somehow determine the default value for ScalingFunctions for each of these, and looking at G @@ ListPlot[{1}] vs G @@ ListLogPlot[{1}] vs G @@ ListLogLogPlot[{1}] suggests that I might want to look for Charting`ScaledTicks in Ticks, or perhaps at Method->CoordinatesToolOptions->DisplayFunction (or perhaps CopiedValueFunction?). What's the right way to extract this information? (The ultimate reason I want this information is for How to get Callout and Text[...,Offset[...]] to use the same coordinate system in Mathematica 12?, to transform the coordinates from the Text in a plot output into coordinates I can input into Callout, so if it helps AxisScaling can take in the output of the plot function instead of the function itself.
Textinside aGraphicsobject so that I can pass them toCalloutinside the plot-function that generated theGraphicsobject and have them show in the correct place. I eventually went for("CopiedValueFunction"/.("CoordinatesToolOptions"/.(Method/.Options[G])))forGthe graphics object, but I'm open to better solutions if there are more correct ways to do this. – Jason Gross Jan 10 '21 at 02:37