Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.8K Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

Formatting axes/frames on ListDensityPlot

Posted 1 year ago

I've got the following code:

data = Import["~/data.csv", {"Data", All, {1, 2, 3, 7}}];
dt = Table[{
    Quantity[
     UnixTime[FromDateString[data[[i, 1]] <> " " <> data[[i, 2]]]], 
     "Seconds"],
    Quantity[data[[i, 3]], "Hertz"],
    data[[i, 4]]
    }, {i, Length[data]}
   ];
ListDensityPlot[dt, ImageSize -> Large]

...which produces the following chart:

enter image description here

Here's the problem: I would like to format the Y axis to not use scientific notation, and the X axis to use a date/time string based on the value (I had to use UnixTime on this data set to convert the date/time to an integer because keeping it as a Date object would result in a blank graph).

(In case you're wondering, this is processing the output of rtl_power showing possible available signals between 24 MHz and 1.7 GHz on a Software-Defined Radio.)

POSTED BY: Steven Buehler
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard