I created plot (attached image). I need to remove the small ticks, just having integer number (removing 0.5,1.5,2.5) and putting frame around legend at end need to replace word (Orange, Blue,...) with small line with same color. This plot is one of the 15 plots that I created using "Table" code and data are too long to upload here. Thanks for your help. enter image description here

  • $\begingroup$ How about Ticks->None? Does this work? $\endgroup$ Mar 9, 2022 at 23:58
  • $\begingroup$ If you have a frame -which does not seem you do- FrameTicks -> {{None, None}, {None, None}}]? $\endgroup$ Mar 9, 2022 at 23:59
  • 1
    $\begingroup$ For the legend use something like PlotLegends -> Placed[Framed@LineLegend[{Orange, Black, Blue, Green}, {100, 1000, 5000, 10000}], {0.75, 0.4}] $\endgroup$
    – Bob Hanlon
    Mar 10, 2022 at 1:58
  • $\begingroup$ Define: xTicks = Range[0, 3, 1]; yTicks = Range[0, 1.0, 0.2]; and after adding Frame -> True to the plot, use: FrameTicks -> { {yTicks, None}, {xTicks, None} } $\endgroup$
    – Syed
    Mar 10, 2022 at 6:09


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.