KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sim_plot_tab.cpp File Reference
#include "sim_plot_colors.h"
#include "sim_plot_tab.h"
#include "simulator_frame.h"
#include "core/kicad_algo.h"
#include <algorithm>
#include <limits>

Go to the source code of this file.

Classes

class  LIN_SCALE< T_PARENT >
 
class  TIME_SCALE
 
class  LOG_SCALE< T_PARENT >
 

Functions

static wxString formatFloat (double x, int nDigits)
 
static void getSISuffix (double x, const wxString &unit, int &power, wxString &suffix)
 
static int countDecimalDigits (double x, int maxDigits)
 
 wxDEFINE_EVENT (EVT_SIM_CURSOR_UPDATE, wxCommandEvent)
 

Function Documentation

◆ countDecimalDigits()

static int countDecimalDigits ( double  x,
int  maxDigits 
)
static

◆ formatFloat()

static wxString formatFloat ( double  x,
int  nDigits 
)
static

◆ getSISuffix()

static void getSISuffix ( double  x,
const wxString &  unit,
int &  power,
wxString &  suffix 
)
static

◆ wxDEFINE_EVENT()

wxDEFINE_EVENT ( EVT_SIM_CURSOR_UPDATE  ,
wxCommandEvent   
)