import tkinter as tkfrom tkinter import ttkimport matplotlib.pyplot as pltfrom matplotlib.backends.backend_tkagg import FigureCanvasTkAggdef plot_graph(): try: # 입력값 가져오기 magnitude = float(entry.get()) # 지진 강도 데이터 예시 magnitudes = [1, 2, 3, 4, 5, 6, 7, 8, 9] energy_released = [10**(1.5*magnitude + 4.8) for magnitude in magnitudes] # 그래프 그리기 ..