2
$\begingroup$

I've been trying to get my y and z axes log-scaled on a 3D list Point Plot, for example (test data):

data={{.73,100,600},{.75,800,900},{.8,1100,2000},{.85,2100,4000},{.92,5000,9000},{1,10000,200000}};

ListPointPlot3D[data, AxesLabel -> {"x", "y", "z"}, 
 BaseStyle -> {FontSize -> 30, FontFamily -> "Times"}, 
 LabelStyle -> Black, ImageSize -> 1000
 ]

I have tried everything I could find in old posts, but everything seemed to be geared towards Plot3D - and doesn't seem to work for ListPointPlot3D.

Any suggestions? Thanks so much!

$\endgroup$
4
$\begingroup$

You can use the option ScalingFunctions for this purpose. For instance:

ListPointPlot3D[
    data,
    AxesLabel->{"x","y","z"},
    BaseStyle->{FontSize->20,FontFamily->"Times"},
    ScalingFunctions->{None,"Log","Log"},
    ImageSize->700
]

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Ah - I tried this earlier but got the "unknown option name" error, so I assumed it wasn't compatible. If this works for you it must mean my version is too old I guess (I have 10.4?). :) Thanks! I'll look into updating. $\endgroup$ – zack Sep 19 '18 at 23:32
  • 1
    $\begingroup$ @zack ScalingFunctions were only introduced in version 11. $\endgroup$ – OldTomMorris Sep 20 '18 at 10:03
  • $\begingroup$ Dang! Oh well :) Thanks! $\endgroup$ – zack Sep 21 '18 at 1:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.