# ErrorListPlot (in ver. 12) and double-Y plots [duplicate]

Both of my questions concern ListPlot, so I hope it is acceptable to ask them both in one post.

1. ErrorListPlot seems to have been suspended as of version 12, is there a built-in alternative for creating scatter plots with errorbars?

2. For creating scatter plots with double-Y axes (and shared x-axis), is there a functionality to create a twin-axis (similar to twinx in Python)? I have tried using Overlay[{plot1,plot2}] as a workaround but it creates two slightly shifted plots instead of creating a y-axis opposite side of the original one. Any practical hints for how to create double-Y plots would be very helpful.

• RE: ErrorListPlot - this has been superseded by using Around. – rcollyer Aug 7 '19 at 13:02
• You are saying it yourself, the documentation clearly indicates "As of Version 12, ErrorListPlot has been superseded by ListPlot.". Use ListPlot[{Around[1, .1], Around[2, .2], Around[3, .3]}] – rhermans Aug 7 '19 at 13:02
• How is it awkward? It should be fairly trivial to convert any list of points into the Around notation. – ktm Aug 7 '19 at 13:09
• In the future please ask one question at the time. – rhermans Aug 7 '19 at 13:25

## ErrorListPlot

What you achieved before with ErrorListPlot now can be achieved with ListPlotand Around

data = Table[{i, RandomReal[0.5]}, {i, 10}]
ErrorListPlot[data]

ListPlot[
Apply[
Around
, data
, {1}
]
]


From the example in the documentation for Around

rmdata = DeleteMissing[
ExoplanetData[
EntityClass["Exoplanet", All],
]
, 1
, 1
];

ListPlot[
rmdata
, Frame -> True
, FrameLabel -> {"mass (kg)", "radius (m)"}
, ScalingFunctions -> {"Log", None}
, PlotRange -> {{10^25, Automatic}, Automatic}
, PlotMarkers -> {Automatic, 5}
, IntervalMarkersStyle -> LightGray
, ImageSize -> 500
]


## double-Y axes

• @user929304 did you read the documentation for Around that I linked? Try {Around[1, 0.1], Around[2, 0.1]}. If you really need more help after reading the documentation, you should ask another question.Read this – rhermans Aug 8 '19 at 9:00